Tiny style correction in createMathOperation.

This commit is contained in:
Michał Lipiński
2017-11-08 22:45:41 +01:00
parent 76c2e0accb
commit c3b3c71b0a

View File

@@ -14,7 +14,7 @@ function createMathOperation(operator, defaultValue) {
if (value === undefined && other === undefined) {
return defaultValue
}
if (value != undefined && other === undefined){
if (value != undefined && other === undefined) {
return value
}
if (other !== undefined && value === undefined) {