re: Async programming basics every JS developer should know VIEW POST

re: I realize I'm a bit late to the discussion, but, since this is a fairly popular article and I believe many will be using it as a reference in the f...

Hi @Filip, I appreciate you for taking the time and explaining this in detail.

I realise setTimeout isn't asynchronous but I've naively used it to mock how an async call would actually behave, didn't realise people starting out might get confused thinking setTimeout has to do anything with async.

Update: I went up and replaced the setTimeout I wrote in @Alwin's reply with an actual API call with delay, for correct depiction of javascript's working. :)

Code of Conduct Report abuse