Wait for many promises in JavaScript

await Promise.all(promise_list)