Promise static methods in JavaScript with real world story
Promise.all()
It takes array of promises , if all promise inside all get resolve then only they return array of resolve promises, if anyone of them get rejected then it will give error of rejection
basicgit.hashnode.dev3 min read