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

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

Array.prototype.fill ( value[, start[, end]] )

The method fills (modifies) all the elements of an array from start index (default 0) to an end index (default array length) with a static value. It returns the modified array https://tc39.es/ecma262/#sec-array.prototype.fill