Fix documentation for toIterable

[ci skip]
This commit is contained in:
Benjamin Tan
2014-07-16 20:55:37 +08:00
parent d504b1f90f
commit 3f2732be7b

View File

@@ -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;