ECMAScript, the standardized version of JavaScript is increasing its popularity and is becoming powerful every day. Since the introduction of ECMAS...
For further actions, you may consider blocking this person and/or reporting abuse
Hi Bro ! Great Article. One Day We will meet and drink coffe together for this amazing article you're published (--;
Hi,
Thanks for your kind words, sure we will do that :)
Thank you very much for sharing. Very good compromised. I‘m looking forward to use this new stuff 🤩
Thank you for your kind words Felix! Great and happy to hear! :)
Thanks 👍
You are welcome :)
That's the kind of articles I want to read. Short but full of content.
Great to hear Dario! Enjoy it :)
Heyho,
Good content. I just miss the case, Promise.any with a reject and a resolve so that is clearer.
Hi JackyDev,
Thank you! Sure and I will try to explain here. With the reject if none of the promise is resolved then an Aggregate error is returned as in the example that I intentionally rejected C and D to see the error. In the case of resolve, if any of the promise is resolved in the example A resolves faster than B the result is returned and doesn't care about B. Promise.any() works in opposite way with Promise.all() where all promises need to be resolved for a single promise to resolve. Hope this made more clear when working with promise.any :)
But numeric separators exists since es 2019
Thank you Dmitry! I agree but at that time it might have been in stage 3 proposal and not fully supported by all browsers.
Hi, there! Thank you for sharing!
P.s. you need to check screenshot in "Logical AND assignment operator" part. There is a mistake in console.log
Hi Alexander!
Thank you! Great catch and I see that I am printing "user" variable from my previous screenshoot instead of "num1". Will update it, thank you again :)