We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1738250 commit 7e89c18Copy full SHA for 7e89c18
1 file changed
src/lib/reducer.js
@@ -69,7 +69,7 @@ function flip(operator) {
69
function flipValue(node) {
70
if (isValueType(node.type))
71
node.value = -node.value;
72
- else if (node.type == 'MathExpression') {
+ else if (node.type === 'MathExpression') {
73
node.left = flipValue(node.left);
74
node.right = flipValue(node.right);
75
}
0 commit comments