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 more2 mins
2 mins
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 more6 mins
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 more4 mins
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 more5 mins
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 more8 mins
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 more9 mins
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 more8 mins
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 more4 mins
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 more7 mins
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 more3 mins
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