🔥 use Promise.allSettled() to wait until all promises have either been fulfilled or rejected.
Promise.allSettled()
Handy for when a promise rejects, but you still want the data of the successful ones.
Take Big But Nicely Formatted Dumps In Your Console With Console Table
Javascript Non Mutating Methods To Reversed To Sorted To Spliced And With