javascript - How to check if you have written ES6 code? -


i have written bunch of javascript code. never aware of fact there multiple js 'versions', es5 , es6.

i have project hosted on github, , pointed out because i'm using es6 code, might need convert es5 babel.

however, have no idea parts of code use es6. read of es6 specifications, there kind of tool/checker marks of es6 code in project?

add babel repl , see if changes:

https://babeljs.io/repl/

:-) hope helps

other might best setup es6 babel using webpack, gulp, rollup etc

so if write es6 or es5 automatically converted , can learn new features on way while still supporting es5 browsers


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -