Skip to content

Commit

Permalink
Fix Docs of Object.each argument names index (number) -> key (mixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian authored and cpojer committed Jan 11, 2011
1 parent 7248d83 commit 1a654c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docs/Types/Object.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Used to iterate through an object.


##### Syntax: ##### Syntax:


fn(item, index, object) fn(item, key, object)


##### Arguments: ##### Arguments:


1. item - (*mixed*) The current item in the array. 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. 3. object - (*mixed*) The actual array/object.


### Example: ### Example:
Expand Down

0 comments on commit 1a654c8

Please sign in to comment.