JavaScript has a single number type — a 64-bit floating point number. Since there is no separate integer type, 1 and 1.0 are the same value.
One of the consequences is that the /
operator may return a floating point number even if both operands are integers. Goodbye casting!
Awesome.