#MissXing #JavaScript #javascriptdatatype
In this video, I explained why JavaScript introduced WeakMap even though Map already exists.
Also explained why keys must be object, cannot be primitive values, why doesn't have a way to loop WeakMap.
Source code:
https://github.com/TinaXing2012/javas...