[][src]Function boa::builtins::array::shift

pub fn shift(this: &Value, _: &[Value], _: &mut Interpreter) -> ResultValue

Array.prototype.shift ( )

The first element of the array is removed from the array and returned. https://tc39.es/ecma262/#sec-array.prototype.shift/