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

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

Array.prototype.unshift ( ...items )

The arguments are prepended to the start of the array, such that their order within the array is the same as the order in which they appear in the argument list. https://tc39.es/ecma262/#sec-array.prototype.unshift/