Despite beginning life as a simple scripting language, modern Javascript (ES6+) has to be transpiled to run in the browser.
Compilers like Babel take in ES6 and spit out a jumbled mess of ES5-spec JS that's comprehensible to the client side. This is basically how all modern front-end JS frameworks operate.

It's a silly and needlessly complex workflow. You could even call it a devolution, as Javascript's transformation from a high-level scripting language to a compiled language certainly feels like a step backwards.
But that's not what this article is about.
When you write ES6+ spec JS using a front-end …