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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that causing Immutable to hash Infinity triggers an infinite loop (makes sense I suppose 馃槒).
Infinity
I can reproduce in Chrome and Firefox from the console on the doc site.
m = Immutable.Map({test: Infinity}); m.hasCode() // spins forever
I haven't really dug into the hasher. If it's not possible to hash infinity, I'd at least expect to see an exception.
cc @marcneuwirth
The text was updated successfully, but these errors were encountered:
Haha, nice one. If hashing Infinity takes forever, does hashing -Infinity... reverse time? Let's not even try it just to be safe ;)
-Infinity
Sorry, something went wrong.
Good find.
e34bb37
thanks @leebyron 馃憤
No branches or pull requests
It seems that causing Immutable to hash
Infinity
triggers an infinite loop (makes sense I suppose 馃槒).I can reproduce in Chrome and Firefox from the console on the doc site.
I haven't really dug into the hasher. If it's not possible to hash infinity, I'd at least expect to see an exception.
cc @marcneuwirth
The text was updated successfully, but these errors were encountered: