Adding a note about the _.each change.

This commit is contained in:
Jeremy Ashkenas
2010-12-02 21:23:04 -05:00
parent c714175cf1
commit 3b916a2cf7

View File

@@ -1194,6 +1194,8 @@ _([1, 2, 3]).value();
<tt>_.template</tt> now correctly escapes backslashes in templates.
Improved <tt>_.reduce</tt> compatibility with the ECMA5 version:
if you don't pass an initial value, the first item in the collection is used.
<tt>_.each</tt> no longer returns the iterated collection, for improved
consistency with ECMA5's <tt>forEach</tt>.
</p>
<p>