Course · Section 12: Numbers, Dates, Intl and Timers · Lecture 181: Converting and Checking Numbers
Implement `isInt(n)` returning whether `n` is an integer.
+ 1 hidden test run on Submit.
Number.isInteger returns true only for whole numbers.
Run your code to see results.