1.0.0 • Published 9 years ago
@f/zip v1.0.0
zip
Zip two or more arrays together
Installation
$ npm install @f/zipUsage
var zip = require('@f/zip')
zip([1, 2], [3, 4]) // -> [[1, 3], [2, 4]]
zip([1, 2], [3, 4], [5, 6]) // -> [[1, 3, 5], [2, 4, 6]]API
zip(...arrays)
arrays- The arrays to zip together
Returns: The zipped arrays
License
MIT
1.0.0
9 years ago