Snipd home pageGet the app
The React Show chevron_right

What Actually Happens When You Call A Function?

Jun 16, 2023
39:20
forum Ask episode
view_agenda Chapters
auto_awesome Transcript
info_circle Episode notes
1
Introduction
00:00 • 3min
chevron_right
2
How to Define a Function in JavaScript
03:24 • 3min
chevron_right
3
JavaScript Environment: A Hash Map for Function Bindings
06:32 • 2min
chevron_right
4
How to Call a Function With Arguments One and Two
08:57 • 3min
chevron_right
5
The Importance of JavaScript Function Definitions
12:14 • 4min
chevron_right
6
How to Look Up Bindings in JavaScript
16:09 • 3min
chevron_right
7
How to Execute a Function in JavaScript
19:09 • 3min
chevron_right
8
Compilation Phases in JavaScript Engines
21:54 • 3min
chevron_right
9
How Let and Const Work in JavaScript
24:42 • 4min
chevron_right
10
How JavaScript Works
28:46 • 2min
chevron_right
11
How to Use Lexical Closures in JavaScript
30:42 • 3min
chevron_right
12
How to Return Functions in C
34:07 • 3min
chevron_right
13
The Importance of Functions
37:07 • 2min
chevron_right

In this episode we dive deep into what the JavaScript engine actually does when you define and call a function; including for React components defined as functions! We learn a lot of fun nuggets along the way like how function invocation relates to lexical scoping and closures!

thereactshow.com

Consulting: https://thomashintz.org

Music by DRKST DWN: https://soundcloud.com/drkstdwn

Support the show

HomeTop podcastsPopular guestsTop books