From 3f2732be7b2d575e1ca9edd19914e2b8c6cbeafa Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Wed, 16 Jul 2014 20:55:37 +0800 Subject: [PATCH] Fix documentation for `toIterable` [ci skip] --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 5ceb5ea3d..b3711d1e4 100644 --- a/lodash.js +++ b/lodash.js @@ -3041,8 +3041,8 @@ * Converts `collection` to an array if it is not an array-like value. * * @private - * @param {Array|Object|string} collection The collection to inspect. - * @returns {Array|Object} Returns the iterable object. + * @param {Array|Object|string} collection The collection to convert. + * @returns {Array} Returns the iterable object. */ function toIterable(collection) { var length = collection ? collection.length : 0;