isInt()
A function to check if a value is parseable to integer.
When multiplied by 10, last digit in 'integer' is always 0.
Javascript coherces ("" + 'number') to "string", which is iterable.
It also coherces 'bolean' and 'truthy' values to integer.
O(n)
Classic Algorithms in Javascript