JavaScript Tip(s) of the Day

I used to give a “JavaScript tip of the day” at the beginning of every lecture. Students preferred that the lectures focused on course material. So I turned it into a single (long) video lecture…

JS Tips Video JS Tips Slides

  • Tip 1: Survival Example [1:01]
  • Tip 2: Do not pretend it is “some other language” [2:24]
  • Tip 3: Understand scope, functions, closures [2:56]
  • Tip 4: Spread Syntax and Arguments [3:47]
  • Tip 5: Literal Objects [6:26]
  • Tip 6: Class-based objects [9:23]
  • Tip 7: Functions and Closures [16:25]
  • Tip 8: Constructors and Methods [21:22]
  • Tip 9: Beware of “this” keyword [24:28]
  • Tip 10: ES6 Modules [33:07]
  • Tip 11: Typing [36:39]
  • End [45:44]