<array>.splice(<index:>, <count>Acts in-place.
Returns spliced : beginning from index - count elements.
E.g.
X = [1,2,3].
X.splice(1, 2);.
X := 1.
Return := [2,3].
Updated:
2026 Aug 19
<array>.splice(<index:>, <count>Acts in-place.
Returns spliced : beginning from index - count elements.
X = [1,2,3].
X.splice(1, 2);.
X := 1.
Return := [2,3].