Created
May 15, 2020 12:12
-
-
Save FurkanKozen/bcf01f24e7bcd427fb8a02b45baec0c8 to your computer and use it in GitHub Desktop.
Infinity as string in JavaScript
This file contains 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
console.log(Infinity.toLocaleString()); //∞ | |
console.log(Infinity.toString()); //Infinity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment