Created
August 5, 2019 11:17
-
-
Save indreklasn/910a175f1cc7cc3477c78d1dfe623e28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const x = Number.MAX_SAFE_INTEGER; | |
// ↪ 9007199254740991, this is 1 less than 2^53 | |
const y = x + 1; | |
// ↪ 9007199254740992, ok, checks out | |
const z = x + 2 | |
// ↪ 9007199254740992, wait, that’s the same as above! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment