Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
В одном из следующих методов был использован аргумент, значение которого лежит вне допустимых интервалов:
Допустимые значения для аргументов данных методов обычно лежат в диапазоне от 0 до 20 (или 21), однако спецификация ECMAScript допускает его расширение.
| Number.prototype.toExponential() | от 0 до 100 | от 0 до 20 |
| Number.prototype.toFixed() | от -20 до 100 | от 0 до 20 |
| Number.prototype.toPrecision() | от 1 до 100 | от 1 до 21 |
This page was last modified on 7 авг. 2023 г. by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.