zip two lists javascript code example
Example: how to zip two arrays in javascript
let ladies = ["Elise", "Mary"]
let gentlemen = ["John", "Rick"]
var doubleDate = ladies.map(function(lady, i) {
return [lady, gentlemen[i]];
});
console.log(doubleDate)