Js Event loop questions!!
In a recent interview, my friend was asked an interesting question — and I got it wrong too at first. The trick was that async has higher priority than setTimeout. I later realized why: async returns a Promise, and Promises are handled in the microta...
vaishd.hashnode.dev109 min read