← Back to release summary

Set (ES6)

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 38)
Intent stage
None

Summary

Set objects let you store unique values of any type, whether primitive values or object references.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set http://updates.html5rocks.com/2014/08/Collecting-and-Iterating-the-ES6-Way

Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/collections-iterators-es6

View on chromestatus.com