Thank you for this helpful video. Respectfully, it is showing that number two worked because you have numeric value 2 in it's resolve section. That said you could have very well added anything in it's resolve section and that would have shown up instead.
@zhasan664 жыл бұрын
Very helpful video tutorial. Thanks a lot.
@ilyazmamadaliyev28933 жыл бұрын
lets imagine there is 4 promises. what would happen if 2 are rejected,but rest are resolved ? ,i gues 2 will continue working with out 2 promise
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
It only wants 1 of the four to succeed. As soon as one succeeds then the first then( ) function will run. You will only get one response object even if you had an array of 500 promises and 250 failed. As soon as one succeeds it is done and can move on.
@B425364 жыл бұрын
Hey, Steve, thank you very much, I would like to see React course from you.
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
I already have a React and a React Native course. Check my playlists page
@rmnkot4 жыл бұрын
like that kind of videos
@spatz75764 жыл бұрын
node.green data is somewhat outdated nodejs.org/en/blog/release/v15.0.0/#v8-8-6-35415
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
There are a few features not included node.green. Node 15 does include Promse.any but it is only about 6 weeks old and not available in a lot of production environments yet. Here is another support table - developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/any#Browser_compatibility
@نقطة-ي4ج4 жыл бұрын
Please, more CSS, HTML. thank you....
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
My CSS playlist has over 100 videos - kzbin.info/www/bejne/gXeuhJaEfcZgbq8