Hello, so when I first initially ran/submitted this code on leetcode, I got the wrong answer, then after reviewing my code, I noticed my "O" in "setTimeout" was capitalized and then when I changed the "O" to lowercase in turned into the right answer. If you or someone can please explain why, I would appreciate this. (Also, please don't flame me for my mistakes I am just a person putting in effort in trying to learn and take action ;_;)
The very best explanation of Async, Await and Promise. Wish I had seen a video like this when I started learning this, could have saved loads of time 😃