BigInt

GPTKB entity

Statements (19)
Predicate Object
gptkbp:instanceOf JavaScript object type
gptkbp:canBeComparedWith Number type
gptkbp:canCreate BigInt() constructor
gptkbp:cannotBeUsedWith Math object methods
gptkbp:compatibleWith JSON.stringify()
gptkbp:createdBy appending n to an integer literal
gptkbp:example 123n
gptkbp:hasMethod toLocaleString()
toString()
valueOf()
https://www.w3.org/2000/01/rdf-schema#label BigInt
gptkbp:introducedIn gptkb:ECMAScript_2020
gptkbp:isPrimitive true
gptkbp:supports integers larger than 2^53-1
gptkbp:usedFor arbitrary-precision integer arithmetic
gptkbp:usedIn cryptography
financial calculations
gptkbp:bfsParent gptkb:QuickJS
gptkbp:bfsLayer 5