Skip to main content
Version: 3.14.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.