Enhanced Object Literals - ES6

This allows for syntactically shorter code when declaring objects. This affects Property Value declarations, Object Methods and Dynamic Propeties. How is this achieved? Lets take the following code prior to...

Default, Rest and Spread - ES6

Parameters have been upgraded with the addition of defaults, rest and spreads. Default Previously we had to load functions as follows: function test(one, two) { two...

Arrow Functions

Arrow functions What are arrow functions? On a basic level, arrow functions are a shorthand version of anonymous functions. Below is an exmple of the same function written...

Classes - ES6

What are classes? A class is essentially a template/blueprint that creates an object. JS classes is nothing new for the world of javascript, it is rather a cleaner syntax...

Promises - ES6

A promise represents a single asynchronous operation. ES2015 provides a pattern/method to declare an operation that hasn’t been completed but is expected to be completed. The simplest way to demonstate...