/ Published in: JavaScript

Expand |
Embed | Plain Text
_.mixin(_.ARRAY, { zip: function(keys, values) { var obj = {}; keys.forEach(function(index, value) { obj[value] = values[index]; }); return obj; } });
You need to login to post a comment.