Udemy

JavaScript Variables Lifecycles

Enroll Now
  • 17,025 Students
  • Updated 12/2021
4.8
(150 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
3 Hour(s) 12 Minute(s)
Language
English
Taught by
Bogdan Stashchuk | 300K Students Worldwide | MBA, PhD
Rating
4.8
(150 Ratings)
2 views

Course Overview

JavaScript Variables Lifecycles

Understand JavaScript Engine phases and lifecycles of the "var", "let", "const". Scopes, hoisting, closures simplified.

Do you want to understand real difference between different types of variables in JavaScript?

Understand different types of scopes?

Want easily explain what is hoisting?

What about closures?

In this course I will dive deep into the JavaScript and explain 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 you what is variable declaration, initialization and assignment that are all-together called Variable Lifecycle Phases.

We will also focus in this course on the Variables Usage Guidelines:

  1. Make Code clear and readable for others

  2. Always declare variables before first usage

  3. Always use "use strict" globally

  4. Don't expose to the outer scopes local variables

You will also get several 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.

In this course I will dive deep into the JavaScript and explain 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 you what is variable declaration, initialization and assignment that are all-together called Variable Lifecycle Phases.

We will also focus in this course on the Variables Usage Guidelines:

  1. Make Code clear and readable for others

  2. Always declare variables before first usage

  3. Always use "use strict" globally

  4. Don't expose to the outer scopes local variables

Hope to see you onboard!

Course Content

  • 6 section(s)
  • 30 lecture(s)
  • 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

What You’ll Learn

  • Explain difference between global scope, function scope and block scope
  • Understand how variables declared using "var" behave
  • Explain 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

Reviews

  • V
    Vadala Varalakshmi
    3.5

    Explanation

  • R
    Rahul Kumar
    4.5

    deep information

  • N
    Noal Balint
    2.5

    doesn't feel like a good use of time. most of this could have been explained in 1 paragraph.

  • V
    Vugar Abdullayev
    5.0

    Very nice course! Comprehensive course about var,let,const and hoisting. Thanks a lot for the course!

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed