+ 1
'let' in SoloLearn JavaScript is not supported? Or it's only on my smartphone?
8 Answers
+ 7
https://www.sololearn.com/learn/JavaScript/2968/
https://www.sololearn.com/learn/JavaScript/2969/
+ 5
UraL Probably you have an android version less than 5 (like me) where default web engine dont support ES6 (eg first standard than define let keyword). For make it work without change your device is run the code on web engine than support ES6..... Try to run the code on newest version of Chrome, Firefox for android, Kiwi than dont use default web engine but a custom and updated one
+ 3
Paul Grasser the question is not that, my program does not start. error on 'let' keyword
+ 3
UraL oh then it must be a because you have an old built-in webview.
Maybe you can find out more about your WebView implementation under your phone settings > Developer Options > WebView implementation.
+ 3
KrOW yes, my android version is 4.4.2
+ 2
Let declares variables for the local scope. So the name with the value peach is only in the if statement.
+ 2
KrOW what is ES6 ?