Fix documentation typo.

Former-commit-id: 85e89c893d358d196a3f0f04b95acb10bbca2771
This commit is contained in:
John-David Dalton
2012-06-05 01:20:53 -04:00
parent fd239076dd
commit d475f8f965
2 changed files with 4 additions and 4 deletions

View File

@@ -793,7 +793,7 @@ Iterates over an `object`'s enumerable own properties, executing the `callback`
_.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) {
alert(key);
});
// => alerts '1', '2', and 'length' (order is not guaranteed)
// => alerts '0', '1', and 'length' (order is not guaranteed)
~~~
* * *
@@ -1259,7 +1259,7 @@ _.isFunction(''.concat);
### <a id="_isnanvalue"></a>`_.isNaN(value)`
<a href="#_isnanvalue">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2688 "View in source") [&#x24C9;][1]
Checks if a `value` is `NaN`. Note: this is not the same as native `isNaN`, which will return true for `undefined` and other values. See http://es5.github.com/#x15.1.2.4.
Checks if a `value` is `NaN`. Note: This is not the same as native `isNaN`, which will return true for `undefined` and other values. See http://es5.github.com/#x15.1.2.4.
#### Arguments
1. `value` *(Mixed)*: The value to check.

View File

@@ -2271,7 +2271,7 @@
* _.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(num, key) {
* alert(key);
* });
* // => alerts '1', '2', and 'length' (order is not guaranteed)
* // => alerts '0', '1', and 'length' (order is not guaranteed)
*/
var forOwn = createIterator(baseIteratorOptions, forEachIteratorOptions, forOwnIteratorOptions);
@@ -2663,7 +2663,7 @@
/**
* Checks if a `value` is `NaN`.
* Note: this is not the same as native `isNaN`, which will return true for
* Note: This is not the same as native `isNaN`, which will return true for
* `undefined` and other values. See http://es5.github.com/#x15.1.2.4.
*
* @static