New Collections (Native)

This page runs a series of a examples using the new collection objects in ECMAScript 6 without any transpilation. This means your browser must support the Map, Set, WeakMap & WeakSet APIs in order to successfully run the code. Open up your debugging console to view the output.

Browser support: All JavaScript engines

For more information on how these new collection APIs work and their level of support, check out the New Collections article that is part of the Learning ES6 series.

Source code | Babel example | Traceur example | Index of examples