We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you're making weak references to String objects then it can no longer behave like a string:
var string = weak(new String('test')); string == 'test'; //throws String.prototype.valueOf is not generic
Is this a known limitation?
The text was updated successfully, but these errors were encountered:
This is related to #13. A way to get around it is to pass around the weak reference but when you actually need the original object use weak.get(ref).
weak.get(ref)
Sorry, something went wrong.
No branches or pull requests
If you're making weak references to String objects then it can no longer behave like a string:
Is this a known limitation?
The text was updated successfully, but these errors were encountered: