Re:Lodash v3.0.0
by olivierkaisin on Tuesday January 27, 2015 @05:53AM
(#8952404)
See release notes and changelog:
- https://github.com/lodash/lodash/releases/tag/3.0.0
- https://github.com/lodash/lodash/wiki/Changelog
[ Parent
| on HN ]
I dig laziness, but why is `forEach` lazy? That's the only one that invokes immediately in libraries like Lazy.js.
Re:Lodash v3.0.0
by quadratini on Tuesday January 27, 2015 @11:04AM
(#8953753)
It's only lazy if it's part of a chain
Chaining is deferred until `value()` is implicitly or explicitly called. However shortcut fusion does not apply to `forEach`.