Functions which operate on arrays.
Creates a new array object and pushes it onto the stack.
- Parameters
-
len | is how long the new array should be. It will be filled with null . |
- Returns
- the stack index of the pushed value.
Creates a new array object using values on top of the stack to fill it.
This pops the values, and pushes the new array.
- Parameters
-
len | is how long the array will be. There should be this many values sitting on top of the stack. |
- Returns
- the stack index of the pushed value.
Fills every slot of the array at slot arr
with the value on top of the stack, and then pops that value.