To understand javascript you have to understand its single threaded nature. Imagin a chef in tiny kitchen with only single burner, that burner is the javascript engine and how the chef manage burner heat which determins either restaurant runs smoothly or ends up in a shouting match. Content List What synchronous code means What Asynchronous Code Means Why JavaScript Needs Asynchronous Behavior