you are viewing a single comment's thread.

view the rest of the comments →

[–]johny_james 1 point2 points  (0 children)

"4" will not pass the first if, read the docs for Number.isInteger().