
What Actually Happens When You Call A Function?
The React Show
00:00
How to Define a Function in JavaScript
The engine starts by parsing the source code with a process called lexing. It then has to actually keep track of it, which is where we get into our first data structure. Functions that you declare at the top level need to be stored somewhere for later reference. In general, we call this a binding, binding a declaration to a value.
Transcript
Play full episode