mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
wip: code formatting nits
This commit is contained in:
@@ -27,7 +27,7 @@ function compareMultiple(object, other, orders) {
|
||||
const result = cmpFn(objCriteria[index], othCriteria[index])
|
||||
if (result) {
|
||||
if (order && typeof order !== 'function') {
|
||||
return result * (order == 'desc' ? -1 : 1)
|
||||
return result * (order === 'desc' ? -1 : 1)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user