From 75b21957c750fef21e2e24ad6bf902b06137a619 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Wed, 3 Aug 2011 11:16:57 -0400 Subject: [PATCH] Issue #252 #154 #148 documenting numeric length key caveat --- index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.html b/index.html index de196cdea..c2d37cd0a 100644 --- a/index.html +++ b/index.html @@ -1235,6 +1235,13 @@ _([1, 2, 3]).value(); another type, if you're setting properties with names like "concat" and "charCodeAt". So be aware.

+ +

+ In a similar fashion, _.each and all of the other functions + based on it are designed to be able to iterate over any Array-like + JavaScript object, including arguments, NodeLists, and more. + Passing hash-like objects with a numeric length key won't work. +

Links & Suggested Reading