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

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

Array.prototype.map ( callback, [ thisArg ] )

For each element in the array the callback function is called, and a new array is constructed from the return values of these calls. https://tc39.es/ecma262/#sec-array.prototype.map