Converts the object into a primitive
The string to use for the default toString
function
Converts the primitive into it's JSON representation
the object to serialize with JSON.stringify
Converts the primitive into it's string representation
Retrieves the actual value of the number
A number primitive that will always stay within a certain range
const number = new CheckedNumber(16, { min: 10, max: 20}); number = -5; // throw NumberRangeError