3 ms·
I think they mean they use var instead of let as var is fully supported by all JavaScript capable browsers.
by wavefunction 9y ago
I think they mean they use var instead of let as var is fully supported by all JavaScript capable browsers.
- Rumudiez 9y agoAnd I think allover’s point was that doesn’t matter if you use Babel to transpile back to ES5. Personally, I would never go back now that I’ve been writing ES6 in production for almost two years
- wavefunction 9y agoES5 doesn't cover all browsers, which is again I believe OP's point. https://babeljs.io/docs/usage/caveats/ https://babeljs.io/docs/usage/caveats/
- veeti 9y agoNo, but as your link mentions you can add a polyfill to cover those gaps instead of letting IE9 dictate what you can and can't do.
- pluma 9y agoNot using tooling also means no module system and no dependency management. Which likely also means no unit tests. And no minification. No linting or type checking. No third party code except maybe a few bundles you downloaded once and will never update that barf all over the global scope. I get the appeal of partying like it's 1999 but as someone who used JS in the 1990s these are things I would not want to live without. I'm perfectly capable of writing ES3 code without any tooling but I'd rather not.