0

JavaScript Super global variable?

https://code.sololearn.com/WPjGyWkmNTjI/?ref=app With ECMA6 where does this variable stand? Var? Obviously not let. Not constant either.

12th Jul 2018, 11:39 AM
Akib
Akib - avatar
1 Respuesta
+ 2
This is old style js syntax, where 'var' could be omitted. If you add "use strict" at the beginning, such syntax will be disabled and you get error displayed.
12th Jul 2018, 1:04 PM
Микола Федосєєв
Микола Федосєєв - avatar
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes