JavaScript: Scope
Offered By: LinkedIn Learning
Course Description
Overview
Learn about the scope options for JavaScript variables, including global, local, and block scope.
Syllabus
Introduction
- Learn how to properly scope your variables
- Course prerequisites
- Setup for this course
- What is scope in JavaScript?
- What are closures?
- The different types of scope
- Hoisting explained
- What are global variables?
- Challenge: Define global variable
- Solution: Define global variable
- What are local variables?
- Challenge: Define local variable
- Solution: Define local variable
- What are block-scoped variables?
- Explore block-scoped variables with code
- Challenge: Define let/const variables
- Solution: Define let/const variables
- JavaScript strict mode
- Next steps
Taught by
Emmanuel Henri
Related Courses
Programming LanguagesUniversity of Virginia via Udacity Building a Basic Website
University of Massachusetts Amherst via Independent iDESWEB, Introducción al desarrollo web
MirÃadax Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Web Application Architectures
University of New Mexico via Coursera