mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
lodash: Sync with Underscore.js commits. [jddalton]
Former-commit-id: 0a92b5c9dcd0ff5c4c712e083fa60556ebb1d96a
This commit is contained in:
@@ -260,6 +260,9 @@ $(document).ready(function() {
|
||||
var numbers = [10, 20, 30, 40, 50], num = 35;
|
||||
var index = _.sortedIndex(numbers, num);
|
||||
equal(index, 3, '35 should be inserted at index 3');
|
||||
|
||||
var index2 = _.sortedIndex(numbers, 30);
|
||||
equal(index2, 2, '30 should be inserted at index 2');
|
||||
});
|
||||
|
||||
test('collections: shuffle', function() {
|
||||
|
||||
Reference in New Issue
Block a user