Key points on how Javascript code work? Whenever a javascript function gets called it goes into call stack and depending on what kind of function it is, it gets processed further. The concept that call stack follows is Last In First Out (LIFO), so ...