Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

JavaScript: Closures

via LinkedIn Learning

Overview

Learn what closures are and how to use them in JavaScript. Review the building blocks of closures and discover what closures look like in code.

Syllabus

Introduction
  • Using closures in JavaScript
  • What you should know
  • Environment setup and exercise files
1. Building Blocks of Closures
  • Local and global scope
  • Nesting functions
  • Return a value from an inner function
  • Create parallel closures
2. Creating and Using Closures
  • Implement the module pattern
  • Avoid unintended closures
  • Use JS features in place of closures
Conclusion
  • Continuing to learn closures

Taught by

Sasha Vodnik

Reviews

4.7 rating at LinkedIn Learning based on 84 ratings

Start your review of JavaScript: Closures

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.