JavaScript is what is called an interpreted language there is no compiling at all the code is directly read and interpreted at runtime. Most of the time it’s minified which reduces the size. Or in the case Vue React or Angular is transpiled which still results in JavaScript code but framework specific syntax is broken out and it’s ran through bable to do backwards compatibility for older browsers.
Hmmm would most code these days be compiled into minified JavaScript? That might be more deterministic.
JavaScript is what is called an interpreted language there is no compiling at all the code is directly read and interpreted at runtime. Most of the time it’s minified which reduces the size. Or in the case Vue React or Angular is transpiled which still results in JavaScript code but framework specific syntax is broken out and it’s ran through bable to do backwards compatibility for older browsers.
Isn’t Typescript compiled into JavaScript?
Technically transpiled. Compiling results in something binary.
No a compiler just translates from one language into another. Transpilers are a type of compiler.
Typescript is transpiled into JavaScript. It’s not a whole new language just additions to JavaScript.
A transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.