阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      JS BigInt.prototype

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

      Property attributes of BigInt.prototype
      Writable
      Enumerable
      Configurable

      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

      SpecificationStatus
      BigInt.prototypeStage 3
      目录
      目录