how to zip 2 arrays javasscript 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)