toPrimitive
ToPrimitive: turns an object into a primitive, asking Symbol.toPrimitive first and falling back to the object's own getDefaultValue.
preferredType is StringClass, NumberClass, or null for no preference.
ToPrimitive: turns an object into a primitive, asking Symbol.toPrimitive first and falling back to the object's own getDefaultValue.
preferredType is StringClass, NumberClass, or null for no preference.