Course contentsShow
JavaScript
Lesson 80 of 2,7233. Variables and ScopePro lesson

Block Scope Basics

Variables declared with let and const are scoped to the nearest enclosing block.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.