Skip to main content
Version: 3.27.2

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.