Use the JavaScript documentation to find a method in the Number library that checks if a number is an integer.

Put the number 2017 in the parentheses and use console.log() to print the result.

How is this done


you need to look through the documentation:

to find an appropriate method to help you solve your problem.


am still stuck


Time to learn to type things exactly. There aren’t one, but two typo’s in that


Actually, scratch getting it right the first time around. You are going to make mistakes.
The trick is to see the error message – no such function, go back and find out where it is, oh look, it’s a different name

And, to spot that, you need to be aware of that you’re bad at typing, something to do with being human, and therefore, it’s something you’d look for in cases where a typo would explain the problem.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.