JavaScript Variables Lifecycles




JavaScript Variables Lifecycles

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!

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

Url: View Details

What you will learn
  • Explain difference between global scope, function scope and block scope
  • Understand how variables declared using "var" behave
  • Explain difference between "let" and "const"

Rating: 4.6

Level: All Levels

Duration: 3 hours

Instructor: Bogdan Stashchuk | Software Engineer, MBA, PhD


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of coursescompany.com.


© 2021 coursescompany.com. All rights reserved.
View Sitemap