(other Value)
| 429 | } |
| 430 | |
| 431 | func (s unicodeString) StrictEquals(other Value) bool { |
| 432 | if otherStr, ok := other.(unicodeString); ok { |
| 433 | return s.equals(otherStr) |
| 434 | } |
| 435 | if otherStr, ok := other.(*importedString); ok { |
| 436 | otherStr.ensureScanned() |
| 437 | if otherStr.u != nil { |
| 438 | return s.equals(otherStr.u) |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | return false |
| 443 | } |
| 444 | |
| 445 | func (s unicodeString) baseObject(r *Runtime) *Object { |
| 446 | ss := r.getStringSingleton() |
no test coverage detected