Liking cljdoc? Tell your friends :D

js.BigInt

BigInt is a built-in object that provides a way to represent numbers larger than 253 - 1, which is the largest number JavaScript reliably represent with the js.Number primitive. BigInt can used for arbitrarily large integers.

BigInt is a built-in object that provides a way to represent
numbers larger than 253 - 1, which is the largest number JavaScript
reliably represent with the `js.Number` primitive. BigInt can
used for arbitrarily large integers.
raw docstring

as-int-ncljs

(as-int-n this width bigint)

Method.

The BigInt.asIntN static method is used to wrap a BigInt value a signed integer between -2width-1 and 2width-1-1.

BigInt.asIntN(width, bigint);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asIntN

Method.

The BigInt.asIntN static method is used to wrap a BigInt value
a signed integer between -2width-1 and 2width-1-1.

`BigInt.asIntN(width, bigint);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asIntN`
sourceraw docstring

as-uint-ncljs

(as-uint-n this width bigint)

Method.

The BigInt.asUintN static method is used to wrap a BigInt value an unsigned integer between between 0 and 2width-1.

BigInt.asUintN(width, bigint);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asUintN

Method.

The BigInt.asUintN static method is used to wrap a BigInt value
an unsigned integer between between 0 and 2width-1.

`BigInt.asUintN(width, bigint);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asUintN`
sourceraw docstring

prototypecljs

(prototype this)

Property.

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

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/prototype

Property.

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

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/prototype`
sourceraw docstring

set-prototype!cljs

(set-prototype! this val)

Property.

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

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/prototype

Property.

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

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/prototype`
sourceraw docstring

to-locale-stringcljs

(to-locale-string this & args)

Method.

The toLocaleString() method returns a string with a language-sensitive of this BigInt.

bigIntObj.toLocaleString([locales [, options]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toLocaleString

Method.

The toLocaleString() method returns a string with a language-sensitive
of this BigInt.

`bigIntObj.toLocaleString([locales [, options]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toLocaleString`
sourceraw docstring

to-stringcljs

(to-string this & args)

Method.

The toString() method returns a string representing the specified object. The trailing "n" is not part of the string.

bigIntObj.toString([radix])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toString

Method.

The toString() method returns a string representing the specified
object. The trailing \"n\" is not part of the string.

`bigIntObj.toString([radix])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toString`
sourceraw docstring

value-ofcljs

(value-of this)

Method.

The valueOf() method returns the wrapped primitive value of a object.

bigIntObj.valueOf()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/valueOf

Method.

The valueOf() method returns the wrapped primitive value of a
object.

`bigIntObj.valueOf()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/valueOf`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close