See attached screenshot.
It doesn’t seem to matter what I use in the “Array Index Template” field, it still inserts it as index:0.
I must be missing something…
See attached screenshot.
It doesn’t seem to matter what I use in the “Array Index Template” field, it still inserts it as index:0.
I must be missing something…
Lars,
The Insert At operation is operating similar to the start parameter in slice where since the index you are placing this value at is larger than the length of the array, start
becomes the length of the array, which in your case is 0
because you are not providing a source array.
This is a bit different than vanilla JavaScript which would allow you to do this and would fill the other indexes with undefined
.
Thank you,
Heath