Why let keyword not working here..?? | Sololearn: Learn to code for FREE!

+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

1/29/2019 4:18:51 PM

$ujay

9 Answers

New Answer

+5

It's showing error in my mobile ... Such as.. "Uncaught syntaxError : unexpected identifier Line:47" While it is working fine on my laptop

+3

Actually i don't know about babel library... But I'll Google it try it.... Thanx... For help..😊😊

+3

But what is solution for that... I m using Android kitikat 4.4.2 is this affect on it??

+2

It seems working, what is problem? Pls specify line or situation?

+2

I am fine, no errors. Maybe your mobile doesn't support ES6 syntax try using Babel library to add support for it.

+2

Of get rid of ES6 syntax and keywords

+2

You're welcome

+1

Sujay it's maybe because you're device is older version (ES6 doesn't supported on old devices)

+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-