(idx int)
| 777 | } |
| 778 | |
| 779 | func (a *typedArrayObject) isValidIntegerIndex(idx int) bool { |
| 780 | if a.viewedArrayBuf.ensureNotDetached(false) { |
| 781 | if idx >= 0 && idx < a.length { |
| 782 | return true |
| 783 | } |
| 784 | } |
| 785 | return false |
| 786 | } |
| 787 | |
| 788 | func (a *typedArrayObject) _putIdx(idx int, v Value) { |
| 789 | switch a.typedArray.(type) { |
no test coverage detected