3 ms·
Async/await themselves are not that much magic really, it's a bit of syntactic sugar over promise chains. Of course, understanding promises is its own bag. Cha
by swid 1y ago
Async/await themselves are not that much magic really, it's a bit of syntactic sugar over promise chains. Of course, understanding promises is its own bag.
ChatGPT explanation: https://chatgpt.com/share/68c30421-be3c-8011-8431-8f3385a654ba https://chatgpt.com/share/68c30421-be3c-8011-8431-8f3385a654...
- lolive 1y agoThat reminds me of my Unix guru of the 90s: "man pages ARE easy to read". [spoil: "when you are already an expert of the tool detailled in it"]
- lolive 1y agoDuring my interviews, may be I should ask them to read and understand this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Execution_model#job_queue_and_event_loop https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... prior to any dev they plan to do in JS/TS. PS: 10 bucks that none of them would stay.