From 6a4e0fb41b058b57a971e4e676d776ba3f4873df Mon Sep 17 00:00:00 2001 From: Benjamim Sonntag Date: Fri, 19 Feb 2016 20:18:52 +0000 Subject: [PATCH] Links _.remove and _.pull in the docs. [ci skip] --- lodash.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lodash.js b/lodash.js index 2ad75fbbc..dc341e7a5 100644 --- a/lodash.js +++ b/lodash.js @@ -6186,7 +6186,8 @@ * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) * for equality comparisons. * - * **Note:** Unlike `_.without`, this method mutates `array`. + * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove` + * to remove elements from an array by predicate. * * @static * @memberOf _ @@ -6291,10 +6292,11 @@ /** * Removes all elements from `array` that `predicate` returns truthy for - * and returns an array of the removed elements. The predicate is invoked with - * three arguments: (value, index, array). + * and returns an array of the removed elements. The predicate is invoked + * with three arguments: (value, index, array). * - * **Note:** Unlike `_.filter`, this method mutates `array`. + * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull` + * to pull elements from an array by value. * * @static * @memberOf _