(name unistring.String, throw bool)
| 408 | } |
| 409 | |
| 410 | func (a *sparseArrayObject) deleteStr(name unistring.String, throw bool) bool { |
| 411 | if idx := strToArrayIdx(name); idx != math.MaxUint32 { |
| 412 | return a._deleteIdxProp(idx, throw) |
| 413 | } |
| 414 | return a.baseObject.deleteStr(name, throw) |
| 415 | } |
| 416 | |
| 417 | func (a *sparseArrayObject) deleteIdx(idx valueInt, throw bool) bool { |
| 418 | if idx := toIdx(idx); idx != math.MaxUint32 { |
nothing calls this directly
no test coverage detected