+ 1

Why this code isnt working.It always shows syntax error while running the code.

JavaScript ES6 https://code.sololearn.com/W6T46V9d4P0d/?ref=app https://code.sololearn.com/WjgTK6fE8svX/?ref=app

27th Jan 2020, 12:57 PM
Yogeshwaran
22 odpowiedzi
+ 2
//then use var instead of const and let and use es5 function or try this👇 https://code.sololearn.com/WL4QrKP4we6A/?ref=app
27th Jan 2020, 1:12 PM
Sudarshan Rai
Sudarshan Rai - avatar
27th Jan 2020, 1:05 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
It's working fine here, the console showed 42
27th Jan 2020, 1:02 PM
Onuoha_ifeanyi
Onuoha_ifeanyi - avatar
+ 1
😃😃👍
27th Jan 2020, 1:26 PM
Yogeshwaran
0
I see no code in your question , pate it here so we can help you
27th Jan 2020, 12:59 PM
Flayer
Flayer - avatar
0
Where is the code?
27th Jan 2020, 1:00 PM
Onuoha_ifeanyi
Onuoha_ifeanyi - avatar
0
Now I updated the code.can you see now?
27th Jan 2020, 1:01 PM
Yogeshwaran
0
I don't get it what do you want to do
27th Jan 2020, 1:03 PM
Flayer
Flayer - avatar
0
But in my phone.it doesn't support.it shows syntax error.
27th Jan 2020, 1:03 PM
Yogeshwaran
0
Try it on sololearn it works
27th Jan 2020, 1:05 PM
Flayer
Flayer - avatar
0
I try this code only in sololearn using phone.But it wont work
27th Jan 2020, 1:06 PM
Yogeshwaran
0
Sudharsan Rai why it won't supporting
27th Jan 2020, 1:07 PM
Yogeshwaran
0
What is the syntax error and in what line
27th Jan 2020, 1:08 PM
Flayer
Flayer - avatar
0
//Try updating browser webview Yogeshwaran
27th Jan 2020, 1:08 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
But sudharsan Rai bro I am using sololearn in my mobile phone.How to rectify that?
27th Jan 2020, 1:10 PM
Yogeshwaran
0
In what line is the error ?
27th Jan 2020, 1:10 PM
Flayer
Flayer - avatar
0
Flayer in first line onwards
27th Jan 2020, 1:11 PM
Yogeshwaran
0
Mmm yes sudharsan bro.This code is working in my device.
27th Jan 2020, 1:13 PM
Yogeshwaran
0
Thanks sudharsan Rai bro
27th Jan 2020, 1:16 PM
Yogeshwaran
0
//🔥🔥 Yogeshwaran
27th Jan 2020, 1:24 PM
Sudarshan Rai
Sudarshan Rai - avatar