Scope in JavaScript – HTTP 203




Jake and Surma take a deep dive into the world of variable scoping in JavaScript. var vs const/let and scripts vs modules.

Original source


20 responses to “Scope in JavaScript – HTTP 203”

  1. I love your videos is so educational and fun! The catch have a function behavior being a block, shortcut implementation, like typeof is an expression that takes a statement not a param but can written as function call but don’t behave like, ah love those WAT from JS 🙂

    Btw the global context refer to globalThis, I think you meant const/let are in the global scope (block) but not in the context.

Leave a Reply