~/talk

JavaScript: Function [[Call]] – ECMA-262 specification contract

links:none on file
slides:none on file

Walks the ECMA‑262 steps that create a function object, shows ASTExplorer and Chrome DevTools used to inspect runtime state, and demonstrates that the function’s source text is stored in an internal slot at parse time while its body is not compiled until call, so creation and invocation are distinct. Proves the function’s outer environment is captured at definition (not call), details environment records, execution context frames pushed to the call stack, and that missing return yields undefined.

AI-written summary · about

  1. 0:00Introduction to Function [[Call]]
  2. 3:24ECMAScript conformance basics
  3. 10:10Source text to function code
  4. 17:56Lexical environments and closures
  5. 23:56Function object internals
  6. 28:50Execution context and call stack
  7. 37:42Returning values and cleanup
  8. 41:15Q&A and wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.