mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Fix documentation typo.
Former-commit-id: defc89d6a8267a4a6626ca6ac7345db1d55cb9b6
This commit is contained in:
@@ -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)
|
||||
~~~
|
||||
|
||||
* * *
|
||||
|
||||
Reference in New Issue
Block a user