3 ms·
Can you elaborate why you recommend starting with ES5 instead of going directly for ES6, which allows doing some things in a bit more sane way? It's just as li
by PeterisP 10y ago
Can you elaborate why you recommend starting with ES5 instead of going directly for ES6, which allows doing some things in a bit more sane way?
It's just as likely that OP won't ever write any ES5, if any ES5 code will be needed, then it will be generated/compiled.
- codegeek 10y agoOnly reason is that ES5 is technically the supported version by all major browser as of today. Yes, you can write ES6 and compile to ES5 but I feel like there are lot of goodies in ES5 that you will miss if you do directly with ES6. Just a preference. I probably won't be saying this in next 2-3 years once ES6 is the norm.