Permalink
Browse files

Fix Docs of Object.each argument names index (number) -> key (mixed)

  • Loading branch information...
arian authored and cpojer committed Jan 5, 2011
1 parent 7248d83 commit 1a654c86f1583a022f2a89151a28ad42d62fdde0
Showing with 2 additions and 2 deletions.
  1. +2 −2 Docs/Types/Object.md
View
@@ -26,12 +26,12 @@ Used to iterate through an object.
##### Syntax:
- fn(item, index, object)
+ fn(item, key, object)
##### Arguments:
1. item - (*mixed*) The current item in the array.
-2. index - (*number*) The current item's key.
+2. key - (*mixed*) The current item's key.
3. object - (*mixed*) The actual array/object.
### Example:

0 comments on commit 1a654c8

Please sign in to comment.