The actual primitive value
Iterates of the characters in the string
Converts the object into a primitive
Often just returns the class name
Gets the value
Converts the primitive into it's JSON representation
Will be one of:
JSON.stringify()
was directly called on this objectthe object to serialize with JSON.stringify
Converts the primitive into it's string representation. Often has a unit value associated with it such as 125ms
Primitives must implement the legacy valueOf
interface. Usually just forwards to the newer
Symbol.toPrimitive
API
Represents an immutable URL