1. Number
2. String
3. Boolean
4. Undefined
5. Null
6. Symbol (new in ECMAScript 6)
7. Object
!==
===
>=
<=
>
<
var
let (new in ECMAScript 6)
const (new in ECMAScript 6)
if
else
else if
ternary operator
switch
&&
||
!
var a = function name() {}
function name() {}
return
() => (fat arrow function — new in ECMAScript 6)
Array
Object
or
while
do
forEach (new in ECMAScript 5)
forin (new in ECMAScript 5)
forof (new in ECMAScript 5)
LET and CONST variables
Hoisting variables (LET and CONST)
Arrow => function short hand
Arrow functions and THIS
Function default parameter values
Object literals short hand
Rest … operator
Spread … operator
For Of Loop
Template literals
Destructing arrays[ ] with default parameters
Destructing {Objects} with alias
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter