+ 3
Why doesn't Sololearn accept let as a valid variable keyword yet?See question after this https://www.sololearn.com/learn/jQuery/
7 Respostas
+ 4
https://www.sololearn.com/Discuss/1255472/?ref=app.
Found the answer.
According to the answer here jQuery doesn't have es6.Thank you for all your help.
+ 3
I tried let on the question after this https://www.sololearn.com/learn/jQuery/2782/ and it just doesn't work!!
+ 3
Abhay sorry I meant variable keyword not name.Thanks for spotting that.
+ 2
Because let is a keyword?
+ 2
So it only works in the compiler but not the questions?
+ 1
C K I don't know if jQuery supports es6 or not ,but I can very well say jQuery runs in the same browser as Javascript and "let" will work if your browser supports es6 syntax,the following code works fine for me
https://code.sololearn.com/W5eWW0wVNcM8/?ref=app