Hardeep Singh
1 min readDec 28, 2018

--

Hey Gaurav Pandvia , Nice Article ! Just have one confusion. Please clear me out. As we know Call-Stack is LIFO (last in first out). but when some simple lines of code, let say 5 times console. They will go in Call Stack directly but they are executed one by one (top to bottom). So how Call Stack is behaving like LIFO (Last in first out) ???

--

--

Hardeep Singh
Hardeep Singh

Written by Hardeep Singh

Software Development Engineer 3 | ReactJs | NodeJs | ExpressJs | NextJs | MongoDB | Micro Frontend | Micro Services

No responses yet