JavaScript Tutorial - #4 Differences between Var, Let and Const

Published: 02 April 2023
on channel: Active Developer
27
1

Let and Const keywords was introduced in EcmaScript 6 and there are some important difference when we use let and const keywords instead var keyword.

All variables defined with let and const keywords cannot be redeclared
Also variables defined with let keyword must be declared before use.
Variables defined with const cannot be Reassigned.
Variables created with let have block scope


On this page of the site you can watch the video online JavaScript Tutorial - #4 Differences between Var, Let and Const with a duration of hours minute second in good quality, which was uploaded by the user Active Developer 02 April 2023, share the link with friends and acquaintances, this video has already been watched 27 times on youtube and it was liked by 1 viewers. Enjoy your viewing!