Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since сентябрь 2020 г..
BigInt.asIntN — это статический метод, который позволяет перенести BigInt-значение в целое число со знаком между -2ширина-1 and 2ширина-1-1.
Количество битов, доступных для целочисленного размера.
bigintЦелое число для зажима, чтобы соответствовать поставляемым битам.
Значение bigint по модулю 2width как целое число со знаком.
Метод BigInt.asIntN() может быть полезен, чтобы оставаться в диапазоне 64-битной арифметики.
| ECMAScript® 2027 Language Specification # sec-bigint.asintn |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 28 мар. 2025 г. 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.