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

pub fn shift(this: &Value, _: &[Value], _: &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/