javascript zip two arrays 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)