From dfbcfdb0ae5cccc1d97e007af6c9c08bc69eea2d Mon Sep 17 00:00:00 2001 From: Francis De Brabandere Date: Wed, 24 Feb 2016 18:23:40 +0100 Subject: [PATCH] Clarify intersection docs on what is returned. [ci skip] --- lodash.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lodash.js b/lodash.js index 71c6287a3..18a974b28 100644 --- a/lodash.js +++ b/lodash.js @@ -6070,7 +6070,7 @@ * @memberOf _ * @category Array * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of shared values. + * @returns {Array} Returns the new array of shared values taken from the first array provided. * @example * * _.intersection([2, 1], [4, 2], [1, 2]); @@ -6093,7 +6093,7 @@ * @category Array * @param {...Array} [arrays] The arrays to inspect. * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of shared values. + * @returns {Array} Returns the new array of shared values taken from the first array provided. * @example * * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); @@ -6127,7 +6127,7 @@ * @category Array * @param {...Array} [arrays] The arrays to inspect. * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. + * @returns {Array} Returns the new array of shared values taken from the first array provided. * @example * * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];