Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
216,136 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.