Fix code example typo in _.dropRightWhile. [ci skip]

This commit is contained in:
Juliano Castilho
2015-02-24 20:15:26 -04:00
committed by jdalton
parent bf4a70d91c
commit f2eee8896c
2 changed files with 2 additions and 2 deletions

View File

@@ -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