mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Update _.flip doc example and test to better show effect.
This commit is contained in:
@@ -4674,7 +4674,7 @@
|
||||
assert.expect(1);
|
||||
|
||||
var flipped = _.flip(fn);
|
||||
assert.deepEqual(flipped('a', 'b', 'c'), ['c', 'b', 'a']);
|
||||
assert.deepEqual(flipped('a', 'b', 'c', 'd'), ['d', 'c', 'b', 'a']);
|
||||
});
|
||||
}());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user