🏠 New in High Baseline Support: Math and numbers

January 29, 2018

caniuse · mdn · spec

The number type (and Number object) represents floating-point numbers, such as 42 or -4.201, while the Math API contains mathematical functions and constants. JavaScript can also represent boundless negative and positive values as Infinity or not-a-number as NaN (as in 0 * Infinity).

Source features