How can I create an array like this:
[foo(1,3), foo(5,7)]
with Array.map to put in to a Promise.all function in node.js
Array.map
Promise.all