Let's understand about JavaScript Call Stack
JavaScript engine uses a call stack to manage execution contexts: the Global Execution Context and Function Execution Contexts.
Call Stack is based on the LIFO principle.
LIFO stands for Last-In-First-Out
Example
function second() { }
function first...
yashmantri.hashnode.dev2 min read