From 3b916a2cf788a4588f08323c39786b6fb5ddbca6 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Thu, 2 Dec 2010 21:23:04 -0500 Subject: [PATCH] Adding a note about the _.each change. --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index e1d2cb68b..e94751446 100644 --- a/index.html +++ b/index.html @@ -1194,6 +1194,8 @@ _([1, 2, 3]).value(); _.template now correctly escapes backslashes in templates. Improved _.reduce compatibility with the ECMA5 version: if you don't pass an initial value, the first item in the collection is used. + _.each no longer returns the iterated collection, for improved + consistency with ECMA5's forEach.