0

Why does my device view arrow functions as syntax error

I noticed that my device views arrow functions in javascript as syntax error, if i try to run any codes written by other users that has an arrow function it wont run , even when the code syntax is correct

10th Sep 2022, 8:28 PM
Patrick Chidera
Patrick Chidera - avatar
4 Respostas
+ 1
Hey. This is a working arrow function. Could you tell us if it works properly for you? It should write a text in consile. There are no errors. https://code.sololearn.com/W8gVi2kxXxsr/?ref=app
10th Sep 2022, 9:17 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 1
Are you using an Android powered device? if so, which version? if possible, try to update the "Android System Webview" Idk what to do if it's an iOS device ...
11th Sep 2022, 5:51 AM
Ipang
0
It says syntax error unexpected token ) in line 1 of file js
10th Sep 2022, 11:37 PM
Patrick Chidera
Patrick Chidera - avatar
0
Ill try bro
11th Sep 2022, 6:53 AM
Patrick Chidera
Patrick Chidera - avatar