From 6f9b1b182213d2786201db02673ec810f56965eb Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 13 Mar 2016 16:35:52 -0700 Subject: [PATCH] Simplify `_.method` example. [ci skip] --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index b3e05e251..eb1112158 100644 --- a/lodash.js +++ b/lodash.js @@ -14130,8 +14130,8 @@ * _.map(objects, _.method('a.b.c')); * // => [2, 1] * - * _.invokeMap(_.sortBy(objects, _.method(['a', 'b', 'c'])), 'a.b.c'); - * // => [1, 2] + * _.map(objects, _.method(['a', 'b', 'c'])); + * // => [2, 1] */ var method = rest(function(path, args) { return function(object) {