(p valueInt, v Value, throw bool)
| 436 | } |
| 437 | |
| 438 | func (a *templatedArrayObject) setOwnIdx(p valueInt, v Value, throw bool) bool { |
| 439 | if !a.templatedObject.setOwnStr(p.string(), v, throw) { |
| 440 | return false |
| 441 | } |
| 442 | if idx := toIdx(p); idx != math.MaxUint32 { |
| 443 | a._setOwnIdx(idx) |
| 444 | } |
| 445 | return true |
| 446 | } |
| 447 | |
| 448 | func (a *templatedArrayObject) defineOwnPropertyStr(name unistring.String, descr PropertyDescriptor, throw bool) bool { |
| 449 | if name == "length" { |
nothing calls this directly
no test coverage detected