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