
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Meet the instructor David as he introduces essentials in JavaScript ES6, offering a fun, clear introduction with videos, optional quizzes, coding breaks, and coding challenges.
Discover ES6, the Ecmascript 2015 update, with classes, modules, and new array and object syntax. See how Babel and Webpack enable ES6 coding across browsers and get started.
Extra notes:
You should have a code editor and a command line application.
For a code editor, the video shows Atom and Node. Another alternative, which I now recommend is Visual Studio Code: https://code.visualstudio.com/. If you use VSCode than I also recommend configuring it to open via the command line:
CMD-SHIFT-P
Enter “Shell Command”, and choose “Install ‘code’ command in path.
Then you can run $ code /folder to open folders in VSCode from your shell.
For a command line application, I recommend the native Terminal on Mac or Linux, and Git Bash for Windows
Learn to set up your development environment with Node, install Node and npm, verify installations via terminal or command prompt, and access JavaScript packages.
Set up a Webpack 4 project from scratch, create a src/index.js, configure npm scripts for start and build, and bundle code into dist/main.js to run in the browser.
Configure Babel with Webpack to transpile ES6 to ES5, install Babel core, Babel loader, and env preset, set up .babelrc and Webpack rules, and verify the local development server.
Discover how ES6 introduces let, replaces var for mutable variables, and enables block scoping with standalone blocks, including private-like variables demonstrated by a salary example.
Destructuring assignment extracts values from arrays into separate variables, assigning them in order. It can pair with the spread operator to capture the remaining elements.
Master destructuring assignment with objects in es6 by extracting magical and power from a wizard object using shorthand syntax and matching left-hand names to object keys.
Explore arrow functions in ES6, highlighting their anonymous by default nature and how named identifiers can reference them, with examples using set timeout and a blastoff invocation.
Explore the map function in ES6 to create an array by applying a callback to each element, with add-one example on 10, 20, 30 and arrow function demonstrating one-line return.
Learn how to declare an ES6 class with a constructor and parameters, access properties with this, add a greet method using a template string, and create an instance with new.
Explore ES6 in a practical mini React app, focusing on JSX, component rendering with ReactDOM, and setting up the project with npm install and babel preset.
If you approach some issues running 'npm start', then try the following fixes one at a time:
1) Install webpack globally with `npm install webpack -g'.
2) In webpack.config.js change the path in output to 'path: __dirname + '/build' as represented here: https://gist.github.com/15Dkatz/74ce0d5fb3b1982681973af2b59d8bcc
3) Clone the repo, run npm install and npm start and you should be good to go!
Lastly, don't hesitate to ask a question in the forum! I respond as soon as possible.
Turn yourself into a highly-demanded software engineer and developer by following this tutorial on JavaScript ES6. As one the most highly-paid languages, learning ES6 will open so many jobs and opportunities for you.
This course features a ton of diverse content, so you’ll learn ES6 in a stimulating, informative, and fun way.
Filmed tutorials will get you typing code yourself. And these videos will make sure to explain the reason behind each new line and keyword.
Optional quizzes and coding challenges reinforce key concepts. Also, coding breaks in each section let you approach the course at your own pace.
Jokes appear from time to time, especially in the breaks. So who knows, you might even slap your knee at some JavaScript humor!
If you’re still new, then this course gives a great intro to ES6. Or if you have a lot of experience, then you’ll find a nice overview of the language. Either way, this course if perfect for you!
Let’s take the dive into JavaScript ES6 and start coding!