mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Tweak _.sortedIndex for Chrome optimizations.
Former-commit-id: d1d9f1bd1ecfd3bcde98aa51423e05e128f6ffd4
This commit is contained in:
@@ -1602,8 +1602,7 @@
|
|||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
if (thisArg) {
|
if (thisArg) {
|
||||||
var fn = callback;
|
callback = bind(callback, thisArg);
|
||||||
callback = function(value) { return fn.call(thisArg, value); };
|
|
||||||
}
|
}
|
||||||
value = callback(value);
|
value = callback(value);
|
||||||
while (low < high) {
|
while (low < high) {
|
||||||
|
|||||||
Reference in New Issue
Block a user