Last active
March 23, 2021 19:31
-
-
Save eamonnboyle/9ef6f683b2b9804e0656e1d8175bcb53 to your computer and use it in GitHub Desktop.
10+ Parameters to Promise.all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await promiseAll( | |
Promise.resolve(1), Promise.resolve('2'), Promise.resolve(3), Promise.resolve(4), | |
Promise.resolve('5'), Promise.resolve('6'), Promise.resolve(7), Promise.resolve(8), | |
Promise.resolve(9), Promise.resolve('10'), Promise.resolve('11'), Promise.resolve('12'), | |
); // [number, string, number, number, string, string, number, number, number, string, string, string] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment