Advanced Javascript Basics for Web Developers
summary
Starts by demonstrating value versus reference semantics with numbers versus arrays and shows hoisting by declaring a local var after use so the function logs undefined rather than the global value; explains closures and hoisting explained with concrete console outputs. Shows currying/partial application to build small adders, then dismantles callback pyramids using call/apply to rebind context and Array.prototype.slice to turn arguments into arrays. Covers Constructors, prototypes and inheritance, recommending Object.create for safe inheritance and showing how new binds this.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:14Value Types
- 2:12Reference Types
- 3:03Variable Scopes
- 4:02Hoisting
- 6:08environments
- 7:47variable environment
- 8:40functions
- 9:50partial application
- 14:06function arguments
- 15:17callback pyramids
- 16:13call and apply
- 18:14pass in
- 21:27arguments
- 22:51slice
- 28:20classes
- 31:57random thing
- 41:38Prototypes
- 45:15Inheritance
- 47:16Overview
- 48:23Final Questions
related talks
39mJavascript for people who didn't learn Javascript
44mThings that every JavaScript developer should know
44mJavaScript - From Birth to Closure
30m"JavaScript, the Real Bad Parts"
01h 14mJavaScript the Grumpy Parts
01h 01mRediscovering JavaScript
55mJavaScript the Grumpy Parts
32mJavaScript is weird. MythBusters special
