Disclosure: when you buy through links on our site, we may earn an affiliate commission.

JavaScript Variables Lifecycles

Understand JavaScript Engine phases and lifecycles of the "var", "let", "const". Scopes, hoisting, closures simplified.
4.9
4.9/5
(114 reviews)
16,738 students
Created by

9.3

CourseMarks Score®

9.6

Freshness

8.8

Feedback

9.0

Content

Platform: Udemy
Video: 3h 12m
Language: English
Next start: On Demand

Table of contents

Description

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!

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”
✓ 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

Requirements

• Basic JavaScript knowledge
• Fundamentals of CSS
• Basic understanding of HTML

This course is for

• JavaScript developers
• Front-end developers
• Full-stack developers
Just keep learning – stashchuk.com
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 students more than 20 years. I am working as Software Engineer and love to teach and learn myself.
I have a huge experience in explaining difficult things in an easy to understand format backed up with practice activities. That is the perfect combination that enables you to really learn and retain gained knowledge for a long period of time.
Let’s connect in the Social Networks! All links you could find under the profile picture.
See you on my courses!
Browse all courses by on Coursemarks.
Platform: Udemy
Video: 3h 12m
Language: English
Next start: On Demand

Students are also interested in