Why doesn't JavaScript have separated integers and floating points?

Viewed 24

Why did they decide to only have one "Number" data type for JavaScript? And not have separated into integers and floats

I got the questions yesterday, and I couldn't really answer it. This was probably the first thing I learned in JavaScript and I have never really thought about it

0 Answers
Related