From the course: JavaScript: Best Practices for Functions and Classes

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using modern deployment tools

Using modern deployment tools - JavaScript Tutorial

From the course: JavaScript: Best Practices for Functions and Classes

Start my 1-month free trial

Using modern deployment tools

- In the early days of JavaScript, the code developer wrote was the code that was executed in every browser or other user agent. Over time, JavaScript, evolved and added new features. However, because not every user was using the newest version of a browser, developers had to write code targeted at the lowest common denominator. That is the browser with the fewest modern features that still maintained a critical mass of users. This meant that developers were constrained from using the newest features or had to write and maintain multiple versions of the same code. The modern JavaScript Workflow has resolved this issue with transpilers. A transpiler is a utility that accepts Java script code written using modern features and returns code that does the same job as the original, but which is written without modern features. Babel is an example of a popular transpiler for JavaScript. Including a transpiler in your…

Contents