2

Both the JavaScript WeakSet and WeakMap ES2015 standard built-in objects are JS structures with which I have little experience using. I know that the weak part of WeakMap/WeakSet refers to references in those objects being held weakly. But what are some good scenarios in which these objects (particularly the WeakSet) are ideal to use?

IsenrichO
  • 3,773
  • 3
  • 16
  • 30

0 Answers0