Skip to main content
Version: 4.0.1

BigInt.prototype.valueOf()

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

Syntax​

bigIntObj.valueOf()

Return value​

A BigInt representing the primitive value of the specified BigInt object.