481 Views
Welcome to ES6 in Depth. Are you new here? You might want to learn about destructuring, template strings, arrow functions, the spread operator and rest parameters, or object literal features in ES6. Today is going to be about “classes” in ES6. Like I did in previous articles on the series, I would love to point out that you should probably set up Babel and follow along the examples with either a REPL or the babel-node CLI and a file. That’ll make it so much easier for you to internalize the concepts discussed in the series. If you aren’t the “install things on my computer” kind of human, you might prefer to hop on CodePen and then click on the gear icon for JavaScript – they have a Babel preprocessor which makes trying out ES6 a breeze.