3 ms·
Except on almost any serious project you should be using a transpiler anyways.
by EduardoBautista 9y ago
Except on almost any serious project you should be using a transpiler anyways.
- nawtacawp 9y agotranspiler?
- yunyu 9y agoConverts modern JavaScript to ES5
- tannhauser23 9y agoIt converts your ES6 code into Javascript that can run on all browsers. It's how you can get advanced Javascript features before the browsers fully implement them. Look up Babel.
- tasty_freeze 9y agoIt is a portmanteau of translater + compiler
- pspeter3 9y agoAgreed, but I find it helpful to understand the transpiled code. The "clean" ES5 output was a large reason for using TypeScript https://blog.asana.com/2014/11/asana-switching-typescript/ https://blog.asana.com/2014/11/asana-switching-typescript/
- jeremy_wiebe 9y agoI agree to an extent, but any modern transpired should also emit source maps which should shield most people from needing to look st or understand the "low level" generated code.