|
|
|
|
|
by thaumasiotes
1920 days ago
|
|
> And without side-effects, a map can't implement a forEach. Yes, it can, because without side effects, forEach is a NOP. That's not difficult to implement. As long as you don't do anything with the return value from map, you're there. |
|