Using laravel 5.3, when writing vuejs, the arrow function of es6 is used. Can the browser chrome 53 run it directly?
If it doesn’t work, how can I do it?
某草草2017-05-16 16:53:10
Open F12 and enter in Console
(hi=>alert(hi))('hello')
That’s it!
Picture description
为情所困2017-05-16 16:53:10
The new version of Chrome certainly supports most ES6 features, but in order to be compatible with lower version browsers, it is recommended to compile with Babel