mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Remove the unnecessary branch in _.shuffle()
The non-zero case works properly for 0 as well.
This commit is contained in:
@@ -67,4 +67,8 @@
|
||||
return _.range(1000);
|
||||
});
|
||||
|
||||
JSLitmus.test('_.shuffle()', function() {
|
||||
return _.shuffle(numbers);
|
||||
});
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user