Not quite. Integer overflows are the error occurred from exceeding the maximum possible number, and if there was one it would break in more subtle and potentially much more disastrous ways. Besides, this isn't an integer, it's a floating point, which javascript clamps to a maximum value with the NaN check safely