Skip to main content

shift

Function shift 

Source
pub fn shift(arr: Value) -> Value
Expand 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.