YoVDO

JavaScript: Scope

Offered By: LinkedIn Learning

Tags

Javascript Courses Closures Courses

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
1. Introduction to Variable Scope
  • Setup for this course
  • What is scope in JavaScript?
  • What are closures?
  • The different types of scope
  • Hoisting explained
2. Global Variables
  • What are global variables?
  • Challenge: Define global variable
  • Solution: Define global variable
3. Local Variables
  • What are local variables?
  • Challenge: Define local variable
  • Solution: Define local variable
4. Block-Scoped Variables
  • What are block-scoped variables?
  • Explore block-scoped variables with code
  • Challenge: Define let/const variables
  • Solution: Define let/const variables
Conclusion
  • JavaScript strict mode
  • Next steps

Taught by

Emmanuel Henri

Related Courses

Введение в iOS-разработку
Moscow Institute of Physics and Technology via Coursera
Object-Oriented JavaScript
Udacity
Front-End Interview Prep
Udacity
Work with augmented reality (AR) and the web
Curtin University via edX
Mighty JavaScript (Advanced)
Udemy