Skip to content

Olian04/small-array-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

small-array-zip

Array.zip in 126 bytes.

NPM: npm i small-array-zip

require('small-array-zip');

const a = [1, 2, 3];
const b = ['a', 'b', 'c']

const c = Array.zip(a, b);
console.log(c); /*
c = [
  [1, 'a'],
  [2, 'b'],
  [3, 'c']
];
*/

Fiddle demo: https://jsfiddle.net/42axj3kt/8/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published