Fix documentation typo.

Former-commit-id: defc89d6a8267a4a6626ca6ac7345db1d55cb9b6
This commit is contained in:
John-David Dalton
2012-06-04 16:45:18 -04:00
parent 8f6a78cba5
commit 52c36ac445
3 changed files with 5 additions and 5 deletions

View File

@@ -790,10 +790,10 @@ Iterates over an `object`'s enumerable own properties, executing the `callback`
#### Example
~~~ js
_.forOwn({ '0': 'zero', '1': 'one', '2': 'two', 'length': 3 }, function(num, key) {
_.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) {
alert(key);
});
// => alerts 'zero', 'one', 'two', and 'length' (order is not guaranteed)
// => alerts '1', '2', and 'length' (order is not guaranteed)
~~~
* * *