Skip to main content
Version: 3.45.0

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.