From 74137d4eabdf831a4087fb9349e2b983b0cf7941 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 11 Oct 2015 23:30:26 -0700 Subject: [PATCH] Fix `_.differenceBy` doc example. [ci skip] --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 850aef4ef..8fbb44301 100644 --- a/lodash.js +++ b/lodash.js @@ -5021,8 +5021,8 @@ * // => [3.1, 1.3] * * // using the `_.property` callback shorthand - * _.differenceBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] + * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] */ var differenceBy = restParam(function(array, values) { var iteratee = last(values);