Skip to main content

map_for_each

Function map_for_each 

Source
pub(crate) fn map_for_each(
    it: &mut Interp,
    this: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

Map.prototype.forEach(callback, thisArg)。以前は thisArg(第2引数)を無視して 常に undefinedthis として呼んでいた(Array.prototype.forEach 等と同じ バグがこちらにもあった)。