Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ function zip( x, y ) {
if ( x.length !== y.length ) {
throw new Error( format( 'invalid arguments. Must provide equal length array-like objects. x length: `%u`. y length: `%u`.', x.length, y.length ) );
}
out = new Array( x.length );
out = [];
for ( i = 0; i < x.length; i++ ) {
out[ i ] = [ x[i], y[i] ];
out.push( [ x[i], y[i] ] );
}
return out;
}
Expand Down
Loading