what mean is let in JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

what mean is let in JavaScript

????

27th Jun 2018, 12:06 AM
Yexk
Yexk - avatar
5 Answers
+ 25
27th Jun 2018, 12:42 AM
Igor Makarsky
Igor Makarsky - avatar
+ 5
Yexk let allows you to declare variables that are limited in scope to the block, statement, or expression on which it is used. This is unlike the var keyword, which defines a variable globally, or locally to an entire function regardless of block scope.
27th Jun 2018, 12:17 AM
Agent
Agent - avatar
+ 3
You should check out const as well because it is another way to declare a variable.
28th Jun 2018, 4:51 AM
Saul
Saul  - avatar
+ 1
wow..thanks..
27th Jun 2018, 12:25 AM
Yexk
Yexk - avatar
0
java script is based create web application
27th Jun 2018, 1:51 PM
Vishnu Sai
Vishnu Sai - avatar