Why do you guys not accept let variablename? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do you guys not accept let variablename?

I learned at school that defining variables with let is good programming practice. You don't need global variables everywhere.

24th Jan 2019, 3:14 PM
Peter Bezak
2 Answers
+ 2
Peter Bezak What you mean with "you guy dont accept let variable name"?
24th Jan 2019, 3:38 PM
KrOW
KrOW - avatar
+ 1
It is indeed good practice. Also, it does work here: https://code.sololearn.com/WXRSOFKT0k2s/#js
24th Jan 2019, 3:52 PM
Zen
Zen - avatar