The iteration methods on this library don't behave like the native Array.prototype ones when it comes to…
The iteration methods on this library don't behave like the native Array.prototype ones when it comes to…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Native Array forEach , map , filter , find , every , some , etc. all accept an optional second argument that…
The task
Native `Array#forEach`, `map`, `filter`, `find`, `every`, `some`, etc. all accept an optional second argument that becomes `this` inside the callback, and they invoke the callback with `(value, index, array)`. The methods here don't — they call the callback as a plain function and only pass `(value, index)`.
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.