O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JavaScript Variables Lifecycles

Video Description

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

About This Video

  • All you need to know is basic JavaScript knowledge.
  • Fundamentals of CSS and a basic understanding of HTML.

In Detail

In this course, the author will dive deeper into the JavaScript and explain to 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. He will make explain to you what is a variable declaration, initialization, and assignment that are all-together called Variable Lifecycle Phases. We will also focus on this course on the Variables Usage Guidelines like Making 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.

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.