Last active
October 30, 2019 21:41
-
-
Save prof3ssorSt3v3/2d766f9a9bc3c223d32c5546f24cee6d 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
/** | |
* Write a function to determine if a number is an integer | |
*/ | |
let isInt = function (num) { | |
} | |
console.log(3, isInt(3)); | |
console.log(3.5, isInt(3.5)); | |
console.log(1.00000, isInt(1.00000)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment