Use 3 equal signs (#4153)

Like other if statements, use 3 equal signs
This commit is contained in:
moonformeli
2019-01-16 16:57:26 +09:00
committed by John-David Dalton
parent afab656cfe
commit f4ca396a79

View File

@@ -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)
}