JavaScript Variables Lifecycles

  • Overview
  • Curriculum
  • Instructor
  • Review

About This Course

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!

  • Explain difference between global scope, function scope and block scope

  • Understand how variables declared using "var" behave

  • Explain difference between "let" and "const"

Instructor

Profile photo of Bogdan Stashchuk | 300K Students Worldwide | MBA, PhD
Bogdan Stashchuk | 300K Students Worldwide | MBA, PhD

Do you really want to understand and practice instead of sitting and watching long presentations or trying to code along without any clue what is happening behind the scenes?Join me in any of my courses and you will get real knowledge based on the deep understanding of every single topic.But who am I?My name is Bogdan Stashchuk and I teach...

More Courses By Bogdan Stashchuk | 300K Students Worldwide | MBA, PhD
Review
4.9 course rating
4K ratings
ui-avatar of Rahul Kumar
Rahul K.
4.5
1 year ago

deep information

  • Helpful
  • Not helpful
ui-avatar of Noal Balint
Noal B.
2.5
2 years ago

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

  • Helpful
  • Not helpful
ui-avatar of Nikita Shved
Nikita S.
5.0
3 years ago

Perfect, informative, very useful.

  • Helpful
  • Not helpful
ui-avatar of Vugar Abdullayev
Vugar A.
5.0
4 years ago

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

  • Helpful
  • Not helpful
ui-avatar of Anette Cabral Ferreira
Anette C. F.
4.5
5 years ago

Exzellenter Kurs - er hat mich veles verstehen lassen, was mir vorher unklar war.

  • Helpful
  • Not helpful
ui-avatar of Aya Osama Mohammed
Aya O. M.
5.0
5 years ago

It was a great course to understand the js variables well

  • Helpful
  • Not helpful
ui-avatar of Sunil Appu D'silva
Sunil A. D.
5.0
6 years ago

so far so good..gained the knowledge. Thank you!

  • Helpful
  • Not helpful
ui-avatar of Eugen Pascal
Eugen P.
4.5
6 years ago

Very well organized.

  • Helpful
  • Not helpful
ui-avatar of Atul Kumar Sharma
Atul K. S.
5.0
6 years ago

I find this course very helpful in understanding basics of JS.

  • Helpful
  • Not helpful
ui-avatar of Maruf Ahmed
Maruf A.
5.0
6 years ago

Good explanation with execellent example.
Best to know the fundament.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses