On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

- [Instructor] Just like with linting,…if you don't like the idea of copying and pasting…your JavaScript onto an online service just to minify it,…you don't have to.…You can use a command line tool and you can even automate…the process using some form of task runner.…There are several command line tools…available for minification.…The most popular ones are UglifyJS and minifier.…The only problem is neither one of them…currently support ECMAScript 2015 or ES6 code.…So right now as I'm recording this…if you want to use ECMAScript 2015 markup,…like for instance Const and Let,…you need to go check out the UglifyJS-ES6 package.…

This is the beta version of UglifyJS.…So the version that's coming down the pike…and eventually this package will make…its way into UglifyJS proper.…Until then we have to use this ES6 variety.…In my command line, I've navigated to the Exercise Files…for this movie 11_08.…From here I'll run the command…npm install -g uglify-js-es6.…This pulls the package down onto my computer…and installs it globally.…

Resume Transcript Auto-Scroll

Author

Released

5/15/2017

JavaScript is a scripting language of the web. As the web evolves from a static to a dynamic environment, technology focus is shifting from static markup and styling—frequently handled by content management systems or automated scripts—to dynamic interfaces and advanced interaction. Once seen as optional, JavaScript is now becoming an integral part of the web, infusing every layer with its script.

Through practical examples and mini-projects, this course helps you build your understanding of JavaScript piece by piece, from core principles like variables, data types, conditionals, and functions through advanced topics including loops, closures, and DOM scripting. Along the way, you will also be introduced to some ES6 and the basics of JavaScript libraries.