JavaScript Scope, Closures, and Functional Patterns for Pythonistas (Fast Track)

Stephen Gruppetta 17 Lessons 2h 21m Updated intermediate js py

Port Python’s threading.Timer(600, remind) as setTimeout(remind, 600), and the class reminder arrives after 0.6 seconds instead of ten minutes, with no error.

In this course, you’ll port the Python script a bouldering gym’s front desk runs as it checks climbers in. This is the Fast Track version of the course, for learners with more Python experience, and it’s the one on the Advanced path. It covers the same ground faster, in shorter lessons.

By the end of this course, you’ll be able to:

  • Say which variable a name means and when it exists, and read code that uses var
  • Keep state in closures, including functions made in a loop
  • Take any number of arguments, and options you didn’t name
  • Pass callbacks, set timers, and build functions from functions
  • Port the whole front-desk script to JavaScript

You’ll need Python’s scope rules, closures with nonlocal, *args and **kwargs, callbacks, and functools.partial, plus Node 26 and JavaScript functions with default parameters and arrows, and array methods such as map() and reduce(). The Python examples use Python 3.15.

Short videos and text lessons mix with exercises, a project that ports the front-desk script, and a quiz.

What’s Included:

  • 17 Lessons
  • Video Subtitles and Full Transcripts
  • Translated Subtitles in 8 Languages
  • 2 Downloadable Resources
  • Interactive Quiz to Check Your Progress
  • 5 Hands-On Coding Exercises
  • Q&A With JavaScript Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Related Learning Paths:

About Stephen Gruppetta

Stephen obtained a PhD in physics and worked as a physicist in academia for over a decade before becoming a programming educator. He's constantly looking for simple ways to explain complex things.

» More about Stephen

← Browse All Courses