Past Meetup

JavaScript The Hard Parts - Closure, Scope, and Execution Context - ONLINE ONLY

This Meetup is past

57 people went


Online · New York, NY

How to find us

Location image of event venue



Please join us at

This week we continue our mini-series: Javascript - The Hard Parts. We will cover closure, scope, and execution context - one of the toughest concepts in JavaScript.

Closures are very useful as they let you associate some data (in the lexical environment) with a function that operates on that data. Closures are frequently used for object data privacy, in event handlers and callback functions, and in partial applications, currying, and other functional programming patterns.

In this workshop you’ll:

Understand how one of the most misunderstood but most powerful features of JavaScript – closure – works under-the-hood
Understand core JS runtime features - execution context, JavaScript execution model and the variable environment
Be able to wield, optimize and debug popular pro utility functions like once and memoize
Be able to implement the module pattern - one of the cleanest and most resilient design patterns in JavaScript

We'll cover concepts and approaches that 80% of JavaScript engineers do not understand but are at the core of every single successful application.

This is possible because we'll understand the essence of these tough concepts and then switch into pair-programming through the challenges to cement the concepts.


8:00 - 8:30pm: Meet your future pair programming partner.

8:30 - 9:30pm: Core JavaScript concept for the challenge and introduction to the secret hack for learning to code - pair-programming.

9:30 - 10:30pm: Pair-programming.