Problem with ES6 syntax | SoloLearn: Learn to code for FREE!


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?

2/3/2019 8:36:39 PM

Kacper Durak

3 Answers

New Answer


It seems that your phone doesn’t support ES6 then.


Add babel to transpiler the code Try use this code playground to write your ES6.


Your phone browser doesnt support es6