Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Remove implementation-defined behavior for some Number met…
…hods (#854) Number.prototype.toFixed, toExponential and toPrecision previously permitted a second argument, with implementation-defined behavior. This language dates back to the original specification in ES3. However, in testing with eshost and looking at the sources of V8, SpiderMonkey, JSC and ChakraCore, I cannot find a usage of this second argument. This patch removes the implementation-defined behavior clause to simplify spec reading and reduce a potential point of variability and confusion among new implementations.
- Loading branch information