The point about robustness is valid but for the sake of it, I'll mention that the potential issue with Promise.all can be avoided by using Promise.allSettled instead.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The point about robustness is valid but for the sake of it, I'll mention that the potential issue with
Promise.allcan be avoided by usingPromise.allSettledinstead.