~/talk

"JavaScript, the Real Bad Parts"

Talkat NationJS 2017 · on Friday, 2017-12-01· [javascript]
name:John Paul
links:none on file
slides:none on file

Explains five concrete pitfalls and how to fix them: five ways to set this (method, baseless call, call/apply, new, strict mode changes), prototype as a fallback chain using object.create and an object.create shim for old IE, the loop-closure surprise that alerts 3,3,3 and how IIFEs or ES6 let solve it, and how hoisting moves declarations so function expressions vs declarations behave differently; notes Node’s harmony flag for trying ES6 features now.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:51JavaScript background
  3. 4:43Understanding 'this' keyword
  4. 12:14Prototypal inheritance explained
  5. 19:39Scope and block confusion
  6. 22:35Function hoisting demystified
  7. 26:48ES6 and future of JS
  8. 27:35Q&A session
~/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.