RealJS
  • Start Here
  • Learn JavaScript
    Start Learning
    Your Learning Plan →Your personalized JavaScript learning plan Learning Paths →Guided study plans for accelerated learning Tutorials →In-depth articles on JavaScript topics Courses →Step-by-step lessons that build a skill
    Get Help
    Mentor AI →NewYour personal JavaScript mentor
    Practice
    Coding Exercises →Write code and get instant feedback Quizzes →Check your learning progress
    Resources
    Reference →Concise definitions for JavaScript terms Browse Topics →Focus on a specific area or skill level Cheat Sheets →Key syntax and patterns at a glance
    Unlock All Content →Get unlimited access to everything on RealJS
  • Search
/
  • Join
  • Sign‑In

JavaScript Scope, Closures, and Functional Patterns for Pythonistas (Quiz)

Stephen Gruppetta
JavaScript Scope, Closures, and Functional Patterns for Pythonistas Stephen Gruppetta 06:30
Course Slides (.pdf) Sample Code (.zip)
Ask a Question
  • Contents
  • Discussion

Become a Member to take the quiz.

Become a Member to join the conversation.

Course Contents

Overview
92%
  • Welcome to the Bouldering Gym's Front Desk 01:52
  • Reading and Changing Outer Variables 12:00
    Knowing When a Name Exists 04:25
    Reading Old Code That Uses var 12:30
    Exercise: Keep the Desk's Running Totals 10:00
  • Keeping State in a Closure 04:38
    Making Functions in a Loop 04:14
    Exercise: Number the Wristbands for Each Session 12:30
  • Collecting Arguments With Rest Parameters 15:00
    Exercise: Total a Climber's Bill 16:00
  • Calling Back When Something Happens 04:24
    Building Functions From Functions 14:00
    Exercise: Remind the Desk Before the Class Ends 14:00
  • Porting the Front Desk Script 04:36
    Exercise: Finish the Front Desk Script 16:30
  • JavaScript Scope, Closures, and Functional Patterns for Pythonistas (Quiz) 06:30
    JavaScript Scope, Closures, and Functional Patterns for Pythonistas (Summary) 13:00

© 2026 RealJS ⋅ Privacy Policy