Optimize _.forEach, _.forIn, and _.forOwn.

Former-commit-id: 5d3b83ec0d5240ee14a86421994de86f311089fd
This commit is contained in:
John-David Dalton
2012-11-24 23:02:44 -06:00
parent d2d1d42d0f
commit 221e0e550c
6 changed files with 50 additions and 48 deletions

View File

@@ -2325,7 +2325,7 @@ _.isFunction(_);
### <a id="_isnanvalue"></a>`_.isNaN(value)`
<a href="#_isnanvalue">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L1482 "View in source") [&#x24C9;][1]
Checks if `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 `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.