![]() Not the original source code you used to write your application. ![]() This presents a problem: when debugging code in the browser, or inspecting stack traces generated from errors in your application, you are looking at transpiled and (typically) hard-to-read JavaScript. browser-compatible JavaScript), typically bears little resemblance to the code from which it was generated. Their output: transpiled code, that while functional in the target environment (e.g. Such transformation tools are often referred to as transpilers – tools that transform source code from one language into either a) the same language, or b) another similar high-level language. ![]() Say, by using a tool like UglifyJS, or Google Closure Compiler. Or perhaps more likely, you’re minifying your source code in order to reduce the filesize of your deployed scripts. ![]() Perhaps you’re writing your source code in a language that “compiles” to JavaScript – like CoffeeScript, TypeScript, or the latest standards-body approved version of JavaScript, ECMAScript 2015 (ES6). These days, the code you use to write your application isn’t usually the same code that’s deployed in production and interpreted by browsers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |