Skip to content

Commit 22d6d04

Browse files
calc.js refactoring
1 parent 07e68c4 commit 22d6d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/games/calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const questionRound = () => {
1010
const arr = ['+', '-', '*'];
1111
const mathOperation = Math.floor(Math.random() * arr.length);
1212
const oper = arr[mathOperation];
13-
const question = `Question:${number1} ${oper} ${number2}`;
13+
const question = `Question: ${number1} ${oper} ${number2}`;
1414

1515
let result = 0;
1616
if (mathOperation === 0 || oper === '+') {

0 commit comments

Comments
 (0)