Set an item at index idx. Note that idx may be any integer, negative or beyond the current length. The expected behaviour when it's beyond length is that the array's length is increased to accommodate the item. All elements in the 'new' section of the array should be zeroed.
(idx int, val Value)
| 55 | // The expected behaviour when it's beyond length is that the array's length is increased to accommodate |
| 56 | // the item. All elements in the 'new' section of the array should be zeroed. |
| 57 | Set(idx int, val Value) bool |
| 58 | // SetLen is called when the array's 'length' property is changed. If the length is increased all elements in the |
| 59 | // 'new' section of the array should be zeroed. |
| 60 | SetLen(int) bool |
no outgoing calls