-
-
Save ilearnjavascript/330517710e6171f64009813638303121 to your computer and use it in GitHub Desktop.
es6 - new methods - 21.js
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
console.log(Number.isSafeInteger(333)); // true | |
console.log(Number.isSafeInteger(33.3)); // false | |
console.log(Number.isSafeInteger(true)); // false | |
console.log(Number.isSafeInteger(0/0)); // false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment