~/talk

JavaScript - From Birth to Closure

Talkat JSConf.eu 2009 · 2009-11-07..11-08· [javascript]
slides:none on file

History and mechanics of JavaScript from 1995 to modern engines, with concrete demos: polyfilling Array.push to fix old browsers, explaining why == vs === bites with type coercion, showing an addFive closure example that captures outer state, fixing the loop-onclick bug via a self-invoking function fix, using call/apply for context, implementing a Curry via Function.prototype, demonstrating the module pattern for private members, and recommending tools like JSLint and JSMin for safer, smaller code.

AI-written summary · about

  1. 0:00Intro
  2. 7:04Conditionals
  3. 9:48Type Coercion
  4. 11:40Object Types
  5. 12:54Functions
  6. 14:13Arguments
  7. 15:55Object Construction
  8. 20:10Prototype Based Inheritance
  9. 24:39Scope
  10. 26:20Nesting Functions
  11. 28:55Closures
  12. 33:38Module Pattern
  13. 35:45Prototype Inheritance
~/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.