~/talk

JavaScript the Cute Parts

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [javascript]
slides:none on file

Concrete ES6 fixes and patterns that change day-to-day code: avoid var and use const over var (const prevents mutation errors shown), prefer let only when you must, replace arguments with rest parameters so you get a real array and can reduce, use spread to call or merge arrays, default parameters to extend APIs safely, for...of plus destructuring to get index and value, implement Symbol.iterator and generators to make custom classes iterable, and remember arrow functions capture lexical this so don’t use them as class methods.

AI-written summary · about

  1. 0:00Modern JavaScript overview
  2. 2:04Avoiding var and using let
  3. 8:02Issues with arguments
  4. 12:01Rest parameters
  5. 15:32Spread operator
  6. 22:12Default parameters
  7. 26:44Enhanced looping techniques
  8. 31:35Iterators and generators
  9. 36:46Advanced generator usage
  10. 41:25Arrow function pitfalls
  11. 50:26Template literals and syntax
  12. 53:38Object destructuring
  13. 1:01:18Conclusion
~/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.