The WeakSet object lets you store weakly held objects in a collection. In contrast to Sets, WeakSets can only ever contain an array of objects,…

Read more

Symbol is a new primitive type that has been added to ES6 (other primitive types are Number, String, Boolean, Object, Null, Undefined). It expects a…

Read more

A Set object lets you store unique values of any type, whether primitive values or object references. It is not index based and you can’t…

Read more

Proxies are a special kind of object that allows you to override the default behavior of an operation on an object by “sitting” in front…

Read more

Classes provide cleaner syntax around prototype-based coding. The addition of the super method also solves tricky issues with relative references in the [[Prototype]] chain. There…

Read more

A Promise is typically used when fetching data. It can only have one of two possible resolution outcomes: fulfilled or rejected, with an optional single…

Read more

Generators are functions you can start, stop, and pause/resume that are controlled by an iterator. They can also be used to programmatically (and interactively, through…

Read more

There has been a number of updates to Object literals in ES6. Concise Properties: If the property name and the value variable name is the…

Read more

Modules allow private encapsulation of implementation details with a publicly exported API. Module definitions are file-based, singleton instances, and statically resolved at compile time. The…

Read more

Rest parameters work by taking multiple items and putting them into a containing array. Basically, it takes multiple things and packs it into one thing….

Read more