From c606f80fe3d357e926efbfd83feb8d7b86811354 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 25 Apr 2014 09:22:17 -0700 Subject: [PATCH] Clarify `_.uniq` docs on `callback`. [ci skip] --- lodash.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lodash.js b/lodash.js index 72a548232..8bc3e47a1 100644 --- a/lodash.js +++ b/lodash.js @@ -3273,11 +3273,11 @@ /** * Creates a duplicate-value-free version of an array using strict equality - * for comparisons, i.e. `===`. If the array is sorted, providing - * `true` for `isSorted` will use a faster algorithm. If a callback is provided - * each element of `array` is passed through the callback before uniqueness - * is computed. The callback is bound to `thisArg` and invoked with three - * arguments; (value, index, array). + * for comparisons, i.e. `===`. If the array is sorted, providing `true` for + * `isSorted` will use a faster algorithm. If a callback is provided it will + * be executed for each value in the array to generate the criterion by which + * uniqueness is computed. The callback is bound to `thisArg` and invoked with + * three arguments; (value, index, array). * * If a property name is provided for `callback` the created "_.pluck" style * callback will return the property value of the given element.