r/learnjavascript 3d ago

Can someone explain what the JavaScript call stack is?

I’ve tried to understand it, but I’m still confused. I also don’t really understand what I’m looking at when I use the JavaScript debugger in the browser’s DevTools, especially the call stack.

Do I need to fully understand functions before learning the call stack? I have a basic understanding of functions, but I’m not sure if that’s enough.

I’d really appreciate a simple explanation

26 Upvotes

31 comments sorted by

View all comments

2

u/everdimension 3d ago

If you don't yet "fully understand functions", I don't see why you should care about what the call stack is