[Udemy] JavaScript Variables Lifecycles
JavaScript Variables Lifecycles

JavaScript Variables Lifecycles

image description

Course Description

Understand JavaScript Engine phases and lifecycles of the "var", "let", "const". Scopes, hoisting, closures simplified. Do you want to understand the real difference between different types of variables in JavaScript? Understand different types of scopes? Want easily explain what is hosting? What about closures? In this course, I will dive deep into the JavaScript and explain to you what happens under the hood when you declare any variable or function. You will understand what happens on the "Compilation" and "Execution" phases in JavaScript Engine. I will make explain to you what is a variable declaration, initialization, and assignment that are all-together called Variable Lifecycle Phases. We will also focus on this course on the Variables Usage Guidelines: Make Code clear and readable for others Always declare variables before the first usage Always use "use strict" globally Don't expose to the outer scopes local variables You will also get sev

eral practical exercises where you will need to apply gain knowledge about different variables, hoisting, scopes, and closures. All exercises and code samples are available as Git repository. Hope to see you onboard! Who is the target audience? JavaScript developers Front-end developers Full-stack developers

What you will learn

Explain the difference between global scope, function scope, and block scope Understand how variables declared using "var" behave Explain the difference between "let" and "const" Practice different variables declarations types Understand two JavaScript Engine Phases - "Compilation" and "Execution" Deeply understand variables lifecycle phases for variables declared using "var", "let" and "const" Explain lifecycle phases for the undeclared variables Understand lifecycle of the function Practice and understand most important variables usage guidelines

Curriculum

Section 1: Course Setup

Section 2: Scopes

Section 3: Var, Let and Const

Section 4: JavaScript Engine Phases

Section 5: Variable Lifecycle Phases

Section 6: Summary