mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 03:47:50 +00:00
Use == for the 'desc' check in compareMultiple.
This commit is contained in:
@@ -989,7 +989,7 @@
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
var order = orders[index];
|
var order = orders[index];
|
||||||
return result * (order === 'desc' ? -1 : 1);
|
return result * (order == 'desc' ? -1 : 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
|
// Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
|
||||||
|
|||||||
Reference in New Issue
Block a user