JavaScript Variables Lifecycles

JavaScript Variables Lifecycles

JavaScript Variables Lifecycles

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

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
Requirements
  • Basic JavaScript knowledge
  • Fundamentals of CSS
  • Basic understanding of HTML

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 declarationinitialization 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.

Hope to see you onboard!

Who is the target audience?
  • JavaScript developers
  • Front-end developers
  • Full-stack developers

Created by Bogdan Stashchuk
Last updated 10/2018
English
English [Auto-generated]

Size: 1.55 GB

   Download Now

http://bit.ly/2JAS2uY.

The post JavaScript Variables Lifecycles appeared first on Free Course Lab.