+ 3

Why let keyword not working here..??

It is working on other browser.. What is solution to this code...pls suggest me. https://code.sololearn.com/WfDUlWUtGQ12/?ref=app

29th Jan 2019, 4:18 PM
Sujay Hadadare
Sujay Hadadare - avatar
9 Respostas
+ 5
It's showing error in my mobile ... Such as.. "Uncaught syntaxError : unexpected identifier Line:47" While it is working fine on my laptop
29th Jan 2019, 5:58 PM
Sujay Hadadare
Sujay Hadadare - avatar
+ 3
Actually i don't know about babel library... But I'll Google it try it.... Thanx... For help..😊😊
29th Jan 2019, 6:10 PM
Sujay Hadadare
Sujay Hadadare - avatar
+ 3
But what is solution for that... I m using Android kitikat 4.4.2 is this affect on it??
29th Jan 2019, 7:16 PM
Sujay Hadadare
Sujay Hadadare - avatar
+ 2
It seems working, what is problem? Pls specify line or situation?
29th Jan 2019, 5:09 PM
Maneren
Maneren - avatar
+ 2
I am fine, no errors. Maybe your mobile doesn't support ES6 syntax try using Babel library to add support for it.
29th Jan 2019, 6:07 PM
Maneren
Maneren - avatar
+ 2
Of get rid of ES6 syntax and keywords
29th Jan 2019, 6:08 PM
Maneren
Maneren - avatar
+ 2
You're welcome
29th Jan 2019, 6:11 PM
Maneren
Maneren - avatar
+ 1
Sujay it's maybe because you're device is older version (ES6 doesn't supported on old devices)
29th Jan 2019, 7:15 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Sujay yes, i have experience before i was using same version device and ES6 was not supported on my device including some CSS animation without of - webkit-
29th Jan 2019, 7:20 PM
Sudarshan Rai
Sudarshan Rai - avatar