# Learn ES6 (ECMAScript 2015)


This course takes a look at some of the new features that JavaScript has available with ES6 (ECMAScript 2015). It is a "montage" from several instructors.

Each lesson's code is in its corresponding lesson folder. Plunks are drawn from the lesson's branch.
<!DOCTYPE html>
  <meta charset="utf-8">
	<script src="script.js"></script>
let firstName = "John";
let lastName = "Lindquist";

let person = {firstName, lastName}

console.log(person) || displayInPreview(person.firstName) || displayInPreview(person.lastName);

let mascot = "Moose";

let team = {person, mascot};

console.log(team) || displayInPreview(team.mascot);

// display in plunker preview
function displayInPreview(string) {
  var newDiv = document.createElement("div"); 
  var newContent = document.createTextNode(string);