Every number in JavaScript is treated as a floating-point number.JavaScript does support integers, octal, hexadecimal, and so on.At the lowest level, JavaScript sees numbers as floating-point numbers.