Skip to content

Commit fc58a75

Browse files
rootroot
authored andcommitted
fix brain-calc
1 parent 09fe18e commit fc58a75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BrainCacl.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ const StartValueOPS = (exs)=>{
2727
case '*': result = num1 * num2;
2828
break;
2929
default: throw new Error(`Unknown order state: '${exs}'!`);
30-
}
30+
};
3131

32-
return result;
33-
}
32+
return result;
33+
};
3434
const gameCalc = ()=>{
3535
const ops = operations();
3636
const rightAnswer = StartValueOPS(ops);

0 commit comments

Comments
 (0)