-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Line 252 in 4dd6544
// JSON and javascript max Int is 2**53, so any int that passes isInteger is valid for Int64 |
// JSON and javascript max Int is 2**53, so any int that passes isInteger is valid for Int64
The second part of the sentence does not follow from the first. Neither JS nor JSON do not throw on overflows.
Consider this:
> Number.isInteger(JSON.parse('' + (2 ** 65)))
true
Metadata
Metadata
Assignees
Labels
No labels