Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Ekaterina Tokareva
Ekaterina Tokareva
5,310 Points

weakset/weakmap

In which cases can we use weakset/weakmap instead of set/map ? https://teamtreehouse.com/library/introducing-es2015

Steven Parker
Steven Parker
238,200 Points

It would be most helpful if you include a link to the specific course page you are working with.

1 Answer

These Articles will provide details:

https://www.sitepoint.com/using-the-new-es6-collections-map-set-weakmap-weakset/

http://stackoverflow.com/questions/29413222/what-are-the-actual-uses-of-es6-weakmap

Note: Please scroll down as necessary to locate the topic of your preference.