(name unistring.String)
| 282 | } |
| 283 | |
| 284 | func (o *baseObject) hasPropertyStr(name unistring.String) bool { |
| 285 | if o.val.self.hasOwnPropertyStr(name) { |
| 286 | return true |
| 287 | } |
| 288 | if o.prototype != nil { |
| 289 | return o.prototype.self.hasPropertyStr(name) |
| 290 | } |
| 291 | return false |
| 292 | } |
| 293 | |
| 294 | func (o *baseObject) hasPropertyIdx(idx valueInt) bool { |
| 295 | return o.val.self.hasPropertyStr(idx.string()) |
nothing calls this directly
no test coverage detected