1.0.2 • Published 10 years ago

leak-map v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

leak-map

A shit weak-map that leaks and is generally bad.

Why

Internet explorer is bad, you can't make non-enumerable properties on objects, so pretty much all WeakMap polyfills put random properties on objects, which can cause issues.

LeakMap won't put random properties on objects, but it will cause memory to leak, and it will be quite slow. But hey, you're using IE, it isnt like you care about performance or stability anyway.