How to use WeakMap in JavaScript
Taking advantage of JavaScript's object collector in order to avoid memory leaks for solutions that involve storing metadata about objects
Tags: javascript, weakmap, es6, garbagecollection