mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Fix code example typo in _.dropRightWhile. [ci skip]
This commit is contained in:
committed by
jdalton
parent
bf4a70d91c
commit
f2eee8896c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user