JavaScript Variables Lifecycles

4.92

Updated on

Course overview

Provider
Udemy
Course type
Paid course
Level
All Levels
Duration
3 hours
Lessons
30 lessons
Certificate
Available on completion
Course author
Bogdan Stashchuk | Software Engineer, MBA, PhD, CCIE
  • 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

Description

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:

  • Make Code clear and readable for others

  • Always declare variables before first usage

  • Always use "use strict" globally

  • 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:

  • Make Code clear and readable for others

  • Always declare variables before first usage

  • Always use "use strict" globally

  • Don't expose to the outer scopes local variables

  • Hope to see you onboard!

    Similar courses

    JavaScript: Understanding the Weird Parts
    • 12 hours
    • 88 lessons
    • Certificate
    Modern JavaScript From The Beginning
    • 22 hours
    • 122 lessons
    • Certificate
    JavaScript Variables Lifecycles
    • English language

    • Recommended provider

    • Certificate available