~/talk

JavaScript's Slightly Stricter Mode

Talkat Web Directions Code 2013 · 2013-05-02..05-03· [javascript]
slides:none on file

Strict mode makes JavaScript throw concrete errors instead of silently failing: assigning without var raises a ReferenceError that prevents implicit globals, duplicate function parameters and duplicate object keys become syntax errors, octal literals and delete of locals are illegal, and the problematic with statement and arguments.caller/arguments.callee are disallowed for optimization. Concatenation can accidentally inherit or lose strictness, so wrap each file in an IIFE with "use strict"; to opt in safely and reveal bugs early.

AI-written summary · about

  1. 0:00JavaScript strict mode intro
  2. 2:55Strict mode prevents globals
  3. 5:48Strict mode removes features
  4. 6:32Strict mode performance
  5. 8:54Strict mode semantics
  6. 12:33Using strict mode safely
  7. 13:56Final thoughts
~/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.