25th Jul 2022, 7:34 PM
Aya
Aya - avatar
31 Respostas
+ 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'
25th Jul 2022, 9:00 PM
A͢J
A͢J - avatar
+ 4
Aya Working for me
25th Jul 2022, 8:22 PM
A͢J
A͢J - avatar
+ 4
current version 4.23.1 July 7th requires OS Android 5.0 and up
25th Jul 2022, 9:27 PM
BroFar
BroFar - avatar
+ 3
Aya Which mobile version you are using?
25th Jul 2022, 8:23 PM
A͢J
A͢J - avatar
+ 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
25th Jul 2022, 9:06 PM
PanicS
PanicS - avatar
+ 3
Aya Working fine on my Android let y = "6"; console.log(y); // 6 console.log(typeof(y)) // string
25th Jul 2022, 9:18 PM
BroFar
BroFar - avatar
+ 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....
25th Jul 2022, 9:23 PM
Jayakrishna 🇮🇳
+ 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.
25th Jul 2022, 9:51 PM
BroFar
BroFar - avatar
+ 2
It's working fine. Check again...
25th Jul 2022, 7:49 PM
Jayakrishna 🇮🇳
+ 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 : )
25th Jul 2022, 9:36 PM
Aya
Aya - avatar
+ 2
It's working
27th Jul 2022, 2:04 PM
Krunal Thakar
+ 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
27th Jul 2022, 2:19 PM
KULDIP๛ SARVAIYA
KULDIP๛ SARVAIYA - avatar
+ 1
I checked, still not working with me, look : https://ibb.co/93B5nDs :(
25th Jul 2022, 8:00 PM
Aya
Aya - avatar
+ 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..
25th Jul 2022, 8:25 PM
Jayakrishna 🇮🇳
+ 1
A͢J 4.4.2
25th Jul 2022, 8:28 PM
Aya
Aya - avatar
+ 1
Jayakrishna🇮🇳 Okey, thank you
25th Jul 2022, 8:29 PM
Aya
Aya - avatar
+ 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.
27th Jul 2022, 10:23 AM
Aya
Aya - avatar
+ 1
Omar Ahmad var works 👍
27th Jul 2022, 10:29 AM
Aya
Aya - avatar
+ 1
let name = "Player One"; console.log(name)
27th Jul 2022, 11:31 AM
Youssef Hakki
Youssef Hakki - avatar
+ 1
Working for me
27th Jul 2022, 5:08 PM
Anil Yadav
Anil Yadav - avatar