Too bad, I'd have prefered Symbols to be allowed as WeakMap keys...
Yes, primarily I've been using a WeakMap to hold sensitive data (which shouldn't be altered by any other way than calling the API), but it could also hold debug info.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Indeed interesting thread!
Too bad, I'd have prefered Symbols to be allowed as WeakMap keys...
Yes, primarily I've been using a WeakMap to hold sensitive data (which shouldn't be altered by any other way than calling the API), but it could also hold debug info.