diff --git a/dist/lodash.compat.js b/dist/lodash.compat.js index 7fcf2b399..cb0e197b7 100644 --- a/dist/lodash.compat.js +++ b/dist/lodash.compat.js @@ -2127,7 +2127,7 @@ /*--------------------------------------------------------------------------*/ /** - * Creates an array of elements from the specified index(es), or keys, of the + * Creates an array of elements from the specified indexes, or keys, of the * `collection`. Indexes may be specified as individual arguments or as arrays * of indexes. * @@ -2135,7 +2135,7 @@ * @memberOf _ * @category Collections * @param {Array|Object|String} collection The collection to iterate over. - * @param {Array|Number|String} [index1, index2, ...] The index(es) of + * @param {Array|Number|String} [index1, index2, ...] The indexes of * `collection` to retrieve, either as individual arguments or arrays. * @returns {Array} Returns a new array of elements corresponding to the * provided indexes. diff --git a/dist/lodash.js b/dist/lodash.js index 97aed0a76..b2ce626d6 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -1984,7 +1984,7 @@ /*--------------------------------------------------------------------------*/ /** - * Creates an array of elements from the specified index(es), or keys, of the + * Creates an array of elements from the specified indexes, or keys, of the * `collection`. Indexes may be specified as individual arguments or as arrays * of indexes. * @@ -1992,7 +1992,7 @@ * @memberOf _ * @category Collections * @param {Array|Object|String} collection The collection to iterate over. - * @param {Array|Number|String} [index1, index2, ...] The index(es) of + * @param {Array|Number|String} [index1, index2, ...] The indexes of * `collection` to retrieve, either as individual arguments or arrays. * @returns {Array} Returns a new array of elements corresponding to the * provided indexes. diff --git a/doc/README.md b/doc/README.md index a61bb0c1b..26a825054 100644 --- a/doc/README.md +++ b/doc/README.md @@ -945,11 +945,11 @@ _([1, 2, 3]).valueOf(); ### `_.at(collection [, index1, index2, ...])` # [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2157 "View in source") [Ⓣ][1] -Creates an array of elements from the specified index(es), or keys, of the `collection`. Indexes may be specified as individual arguments or as arrays of indexes. +Creates an array of elements from the specified indexes, or keys, of the `collection`. Indexes may be specified as individual arguments or as arrays of indexes. #### Arguments 1. `collection` *(Array|Object|String)*: The collection to iterate over. -2. `[index1, index2, ...]` *(Array|Number|String)*: The index(es) of `collection` to retrieve, either as individual arguments or arrays. +2. `[index1, index2, ...]` *(Array|Number|String)*: The indexes of `collection` to retrieve, either as individual arguments or arrays. #### Returns *(Array)*: Returns a new array of elements corresponding to the provided indexes. diff --git a/lodash.js b/lodash.js index c7c0c4c54..fb491b484 100644 --- a/lodash.js +++ b/lodash.js @@ -2134,7 +2134,7 @@ /*--------------------------------------------------------------------------*/ /** - * Creates an array of elements from the specified index(es), or keys, of the + * Creates an array of elements from the specified indexes, or keys, of the * `collection`. Indexes may be specified as individual arguments or as arrays * of indexes. * @@ -2142,7 +2142,7 @@ * @memberOf _ * @category Collections * @param {Array|Object|String} collection The collection to iterate over. - * @param {Array|Number|String} [index1, index2, ...] The index(es) of + * @param {Array|Number|String} [index1, index2, ...] The indexes of * `collection` to retrieve, either as individual arguments or arrays. * @returns {Array} Returns a new array of elements corresponding to the * provided indexes.