2.1.11 [ECMA-262/5] Section 15.7.4.5, Number.prototype.toFixed (fractionDigits)
V0033:
-
An implementation is permitted to extend the behaviour of toFixed for values of fractionDigits less than 0 or greater than 20. In this case toFixed would not necessarily throw RangeError for such values.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
If any value of the fractionDigits function is
converted to an integer and it is equal to +∞
or -∞
, this value is treated as if it is
the value 0
.