Created
November 25, 2013 15:59
-
-
Save jessepollak/7643631 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var array_1 = [1, 2, 3, 4]; | |
var array_2 = [1, 2, 3]; | |
_.zip(array_1, array_2); | |
// => [[1, 1], [2, 2], [3, 3], [4, undefined]] | |
_.zip(array_2, array_1); | |
// => [[1, 1], [2, 2], [3, 3], [undefined, 4]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aaa