+ 2
why (let) isn't working?!
31 Answers
+ 6
Aya
Is it android mobile? If so then in this version might be 'let' will not work so try to change 'let' with 'var'
+ 4
Aya
Working for me
+ 4
current version 4.23.1 July 7th
requires OS Android 5.0 and up
+ 3
Aya
Which mobile version you are using?
+ 3
Do you have latest version of sololearn app? Maybe this is problem. Try to upgrade if you can, if you cant send email to sololearn.
This look like your playground dont recognize new js6 syntax
+ 3
Aya Working fine on my Android
let y = "6";
console.log(y); // 6
console.log(typeof(y)) // string
+ 3
Looks like 4.4.2 app version, which is year back old version. Now new version is 4.23 latest..
Try update app..Aya and check again....
+ 3
Aya the code works fine .. it's obvious your older device and or version prior to the "vs code editor" they changed over to quite awhile back.
I have a few codes that appeared to have stop working sometime back as SL was changing their playground editor. Also several of my portrait to landscape codes also quit.
+ 2
It's working fine. Check again...
+ 2
PanicS Jayakrishna🇮🇳 BroFar
The latest version of solo learn isn't compatible with my device. I will use another playground if a code doesn't work here.
Thank you : )
+ 2
It's working
+ 2
You can also use document.write(y);
Instead of console.log(y);
And can also use alert(y); - this will show an alert dialogue box
+ 1
I checked, still not working with me, look : https://ibb.co/93B5nDs :(
+ 1
It's working fine on our side.
May be your mobile fault or bug in your side.
Mailto: info@sololearn.com
With screen shot details..
+ 1
A͢J
4.4.2
+ 1
Jayakrishna🇮🇳
Okey, thank you
+ 1
Mr.ActionGal101
It doesn't work 😅 it works when I use online code editors (with or without block {} ), but here it doesn't, maybe because of the old version that I use. "var" works well.
+ 1
Omar Ahmad
var works 👍
+ 1
let name = "Player One";
console.log(name)
+ 1
Working for me