This proposal extends the WeakMap API to allow usage of unique Symbols as keys. Currently, WeakMaps are limited to only allow objects as keys, and this is a limitation for WeakMaps as the goal is to ...
This is a fast, lightweight (~1.94kb ungzipped, and only 703 bytes gziped) JavaScript Map and Weakmap polyfill. If you don't want to download the script, then you can ...