JavaScript: Difference between revisions

Line 115: Line 115:
Note that once keys are garbage collected, they are also removed from the weakmap since you can no longer access them.
Note that once keys are garbage collected, they are also removed from the weakmap since you can no longer access them.
You can not iterate through a weakmap.
You can not iterate through a weakmap.
===WeakSet===


==Modules==
==Modules==