- 1

(JS bug) How to turn iff strict mode in JS ?

Unable to try the cide containing let and const data type because it show error of "Uncaught syntax error due to strict mode" Please help !-.-! https://code.sololearn.com/WFTHBu993p2n/?ref=app

6th Apr 2020, 12:52 PM
Abhay
Abhay - avatar
2 ответов
+ 2
Do your message error exactly end with "... due to strict mode"?! Your code works fine for me... even if I explicitly set the strict mode (wich all the more has no reason to be set implicitly). Maybe your device is a little outdated and doesn't (well?) support 'let' and/or 'const' keywords?
6th Apr 2020, 1:01 PM
visph
visph - avatar