📅  最后修改于: 2022-03-11 15:01:22.056000             🧑  作者: Mango
Promise.all()
/*will reject as soon as one of the Promises in the array rejects.*/
Promise.allSettled()
/*
1-will never reject, it will resolve once all Promises in the array
have either rejected or resolved.
2- DONT NEED CATCH BLOCK */