この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The BigInt.prototype property represents the prototype for the BigInt constructor.

Property attributes of BigInt.prototype
Writable no
Enumerable no
Configurable no

Description

All BigInt instances inherit from BigInt.prototype. The prototype object of the BigInt constructor can be modified to affect all BigInt instances.

Properties

BigInt.prototype.constructor
Returns the function that created this object's instance. By default this is the BigInt object.

Methods

BigInt.prototype.toLocaleString()
Returns a string with a language sensitive representation of this number. Overrides the Object.prototype.toLocaleString() method.
BigInt.prototype.toString()
Returns a string representing the specified object in the specified radix (base). Overrides the Object.prototype.toString() method.
BigInt.prototype.valueOf()
Returns the primitive value of the specified object. Overrides the Object.prototype.valueOf() method.

Specifications

Specification Status
BigInt.prototype Stage 3

Browser compatibility

Update compatibility data on GitHub
DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetNode.js
prototypeChrome Full support 67Edge No support NoFirefox Full support 68IE No support NoOpera Full support 54Safari No support NoWebView Android Full support 67Chrome Android Full support 67Firefox Android Full support 68Opera Android Full support 48Safari iOS No support NoSamsung Internet Android No support Nonodejs Full support 10.4.0

Legend

Full support  
Full support
No support  
No support

ドキュメントのタグと貢献者

このページの貢献者: ExE-Boss, mdnwebdocs-bot, fscholz, alattalatta, sarahgp
最終更新者: ExE-Boss,