Skip navigation

Closures and explicit blocks

Closures and explicit blocks: ES6: The Right Parts
Closures and explicit blocks: ES6: The Right Parts

Kyle shares a couple more use cases for the let keyword. One demonstrates how for loops create a closure with the header variable if it’s declared using let. The other use case involves creating an explicit block when using let to more clearly designate the intended use of the variable.

Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 17m
Show More Show Less
Skills covered in this course
Web Web Development ECMAscript JavaScript

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month