The React Show cover image

What Actually Happens When You Call A Function?

The React Show

00:00

How to Look Up Bindings in JavaScript

In computer science speak, we technically say it prevents identifiers from clashing. To really put this together, we need to continue with our example. We have an environment list made up of two frames. So that's an example, but one thing that's not really clear to me yet is how the JavaScript engine actually looks up the definition of the add function. It's now in the second frame, right? Right. Oh, so cool. This makes it so the names can't clash then, right? My cousins really should adopt some pattern like this."

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app