Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

Chapter 2 : Emerging JavaScript

If you haven't made the switch to the latest JavaScript syntax yet, now is a good time to get started.

Samples

Declaring Variables in ES6

  • const (1,2)
  • let (3,4)
  • template strings (5, 6, 7, 8, 9, 10)

ES6 Functions

  • default parameters (1, 2)
  • arrow functions (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)

Transpiling ES6

  • transpiling in jsbin (1, 2)
  • transpiling locally (demo, code)

Objects and Arrays

  • destructuring assignment (1, 2, 3, 4, 5)
  • object literal enhancement (6, 7, 8, 9)
  • the spread operator (10, 11, 12, 13, 14, 15)
  • getFakeMembers (1)
  • fetch members (1)

ES6 Class Syntax

  • classes (1, 2)
  • inheritance (3)