summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/toLength.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/toLength.js')
-rw-r--r--tools/eslint/node_modules/lodash/toLength.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/node_modules/lodash/toLength.js b/tools/eslint/node_modules/lodash/toLength.js
index 9d41514501..9aac9f6d5f 100644
--- a/tools/eslint/node_modules/lodash/toLength.js
+++ b/tools/eslint/node_modules/lodash/toLength.js
@@ -19,7 +19,7 @@ var MAX_ARRAY_LENGTH = 4294967295;
* @returns {number} Returns the converted integer.
* @example
*
- * _.toLength(3);
+ * _.toLength(3.2);
* // => 3
*
* _.toLength(Number.MIN_VALUE);
@@ -28,7 +28,7 @@ var MAX_ARRAY_LENGTH = 4294967295;
* _.toLength(Infinity);
* // => 4294967295
*
- * _.toLength('3');
+ * _.toLength('3.2');
* // => 3
*/
function toLength(value) {