CCCinvava.hashnode.dev·Jan 24, 2024 · 4 min readCallbacks hells To Promise / async await rescueIn this article, I would introduce why promise was introduced? What problem wants to be solved when coding in javascript? I have learned javascript for four to five years, even used it to work for at least three years. However, I still always confuse...00
CCCinvava.hashnode.dev·Jan 7, 2024 · 3 min read[JavaScript] The Secret of the setTimeout - thisHow does "this" work in setTimeout? Before we start to talk about the topic. Let's start a simple example to recall "this". For example, to get cx60, we will call the car.printModel(). Pretty straightforward. const car = { model: 'cx60', prin...00