-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
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
Introduce support for Infinity #72
Conversation
How about |
Nice catch ! Just implemented on 4599ec6. |
test/unit/serialize.js
Outdated
}); | ||
|
||
it('should deserialize a map', function () { | ||
var m = eval(serialize(new Map([ | ||
['a', 123], | ||
[null, 456] | ||
[null, 456], | ||
[Infinity,322] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be 789
to match the above regularity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I failed to notice the sequential suit. Here you are: 6ac6afe
Published v3.0.0. Thanks! |
This adds support for
Infinity
value (previously converted tonull
).I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.