+ 4
Problem with ES6 syntax
Hello everyone ! I have a problem with my phone. While I try to run codes that use arrow operators (=>) or 'this' keyword in themselves it generates an error like "unexpected character > ,or 'this' or even sometimes '='". Any idea how to fix this?
3 Answers
+ 5
It seems that your phone doesnât support ES6 then.
+ 4
Add babel to transpiler the code
Try use this code playground to write your ES6.
https://code.sololearn.com/Wm8a0UNI9Kis/?ref=app
+ 1
Your phone browser doesnt support es6