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) ???

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Hardeep Singh
Hardeep Singh

Written by Hardeep Singh

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

No responses yet

Write a response