Emulating Python's zip() and zip_longest() in JavaScript 2020-11-26 javascriptcode_idioms This is essentially how you emulate the way Python's zip() function works using JavaScript. →
zip()