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
  • 4,251
  • 3
  • 18
  • 31

0 Answers0