mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47: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
|
// using the `_.matches` callback shorthand
|
||||||
_.pluck(_.dropRightWhile(users, { 'user': pebbles, 'active': false }), 'user');
|
_.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');
|
||||||
// => ['barney', 'fred']
|
// => ['barney', 'fred']
|
||||||
|
|
||||||
// using the `_.matchesProperty` callback shorthand
|
// using the `_.matchesProperty` callback shorthand
|
||||||
|
|||||||
@@ -4385,7 +4385,7 @@
|
|||||||
* ];
|
* ];
|
||||||
*
|
*
|
||||||
* // using the `_.matches` callback shorthand
|
* // using the `_.matches` callback shorthand
|
||||||
* _.pluck(_.dropRightWhile(users, { 'user': pebbles, 'active': false }), 'user');
|
* _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');
|
||||||
* // => ['barney', 'fred']
|
* // => ['barney', 'fred']
|
||||||
*
|
*
|
||||||
* // using the `_.matchesProperty` callback shorthand
|
* // using the `_.matchesProperty` callback shorthand
|
||||||
|
|||||||
Reference in New Issue
Block a user