From d475f8f965c33dd53af87f6150407fc92b16c879 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 5 Jun 2012 01:20:53 -0400 Subject: [PATCH] Fix documentation typo. Former-commit-id: 85e89c893d358d196a3f0f04b95acb10bbca2771 --- doc/README.md | 4 ++-- lodash.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/README.md b/doc/README.md index 06be9cd7c..914bdf9bb 100644 --- a/doc/README.md +++ b/doc/README.md @@ -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); ### `_.isNaN(value)` # [Ⓢ](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. diff --git a/lodash.js b/lodash.js index 42cd08f4c..e46a51f1f 100644 --- a/lodash.js +++ b/lodash.js @@ -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