(p valueInt, desc PropertyDescriptor, throw bool)
| 459 | } |
| 460 | |
| 461 | func (a *templatedArrayObject) defineOwnPropertyIdx(p valueInt, desc PropertyDescriptor, throw bool) bool { |
| 462 | if !a.templatedObject.defineOwnPropertyStr(p.string(), desc, throw) { |
| 463 | return false |
| 464 | } |
| 465 | if idx := toIdx(p); idx != math.MaxUint32 { |
| 466 | a._setOwnIdx(idx) |
| 467 | } |
| 468 | return true |
| 469 | } |
nothing calls this directly
no test coverage detected