Baseline Widely Primitive types
Math and numbers
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).
Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Safari 1
2003-06-23
Core-3 Stability
1,998d (5.5y)
Last: Chrome (2008-12-11)
BCD Keys Mapped
74
Group: Primitive types
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari | desktop | 1 | 2003-06-23 |
| Firefox | desktop | 1 | 2004-11-09 |
| Safari on iOS | mobile | 1 | 2007-06-29 |
| Chrome | desktop | 1 | 2008-12-11 |
| Firefox for Android | mobile | 4 | 2011-03-29 |
| Chrome Android | mobile | 18 | 2012-06-27 |
| Edge | desktop | 12 | 2015-07-29 |