pub fn shift(arr: Value) -> ValueExpand description
Array.prototype.shift() — removes and returns the first element.
Called as a free function from transpiled WS code (shift(stored)).
Returns Value::Null if the array is empty or the target isn’t an
array.