pico-engine
pico-engine copied to clipboard
More informative error message for certain Array operators
When one of these operators:
index
reduce
reverse
slice
splice
is applied to something that is not an Array, we see the run-time error message, "TypeError: only works on Arrays"
It would be nice if the error message included the operator name.