mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
committed by
John-David Dalton
parent
afab656cfe
commit
f4ca396a79
@@ -20,7 +20,7 @@ function createMathOperation(operator, defaultValue) {
|
|||||||
if (other !== undefined && value === undefined) {
|
if (other !== undefined && value === undefined) {
|
||||||
return other
|
return other
|
||||||
}
|
}
|
||||||
if (typeof value == 'string' || typeof other == 'string') {
|
if (typeof value === 'string' || typeof other === 'string') {
|
||||||
value = baseToString(value)
|
value = baseToString(value)
|
||||||
other = baseToString(other)
|
other = baseToString(other)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user