()
| 896 | } |
| 897 | |
| 898 | func (o *Object) toPrimitiveString() Value { |
| 899 | if v := o.tryExoticToPrimitive(hintString); v != nil { |
| 900 | return v |
| 901 | } |
| 902 | |
| 903 | return o.ordinaryToPrimitiveString() |
| 904 | } |
| 905 | |
| 906 | func (o *Object) toPrimitive() Value { |
| 907 | if v := o.tryExoticToPrimitive(hintDefault); v != nil { |
no test coverage detected