var vs let in Javascript- Node JS tutorial for beginners

preview_player
Показать описание
In this video, you're going to learn var VS let in Javascript.

The main difference between var and let lies in scoping.

var is scoped to the nearest function block and let is scoped to the nearest enclosing block, which can be smaller than a function block. Both are global if outside any block.

variables declared with let are not accessible before they declared in the enclosing block.

********** Tutorial Playlists **********

****** Contact me ********

******* Books written by me ********

******* Productivity tool *********

******* Gear Used To Shoot This Video ******
_Audio & Microphone

********Learning partner********

Рекомендации по теме
Комментарии
Автор

How to use a JSON file as a database (for learn)

elabinnovations
join shbcf.ru