(name unistring.String)
| 303 | } |
| 304 | |
| 305 | func (s *stringObject) hasOwnPropertyStr(name unistring.String) bool { |
| 306 | if i := strToGoIdx(name); i >= 0 && i < s.length { |
| 307 | return true |
| 308 | } |
| 309 | return s.baseObject.hasOwnPropertyStr(name) |
| 310 | } |
| 311 | |
| 312 | func (s *stringObject) hasOwnPropertyIdx(idx valueInt) bool { |
| 313 | i := int64(idx) |
nothing calls this directly
no test coverage detected