diff --git a/doc/README.md b/doc/README.md index ff8e9bf46..2c1ad3b95 100644 --- a/doc/README.md +++ b/doc/README.md @@ -500,7 +500,7 @@ var users = [ ]; // using the `_.matches` callback shorthand -_.pluck(_.dropRightWhile(users, { 'user': pebbles, 'active': false }), 'user'); +_.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); // => ['barney', 'fred'] // using the `_.matchesProperty` callback shorthand diff --git a/lodash.src.js b/lodash.src.js index d65e6061a..014b2fcf8 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -4385,7 +4385,7 @@ * ]; * * // using the `_.matches` callback shorthand - * _.pluck(_.dropRightWhile(users, { 'user': pebbles, 'active': false }), 'user'); + * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); * // => ['barney', 'fred'] * * // using the `_.matchesProperty` callback shorthand