Frontend & browser·Modules, bundling and the build
you wrote modern syntax and the build rewrote it into something older browsers can parse.
Transpilation
Also calledtranspiling, downlevelling, Babel
Translating source into equivalent code using older syntax, so that a language feature can be used before every target browser supports it. It is syntax only: a new method like `Array.prototype.at` cannot be rewritten and needs a polyfill instead. Every year the target list stays unchanged, the output gets larger and slower relative to what modern browsers could have run directly.