mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Fix documentation typo.
Former-commit-id: 85e89c893d358d196a3f0f04b95acb10bbca2771
This commit is contained in:
@@ -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> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2688 "View in source") [Ⓣ][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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user