Skip to content

Commit 1403375

Browse files
committed
added not to Math.random() and deleted 2 spaces
1 parent a63f920 commit 1403375

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/games/calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const calculate = (num1, num2, operator) => {
1414
return num1 * num2
1515
default:
1616
throw new Error(`Unknown operator: ${operator}`)
17-
}
17+
}
1818
}
1919

2020
const getRound = () => {

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const getRandomNumber = (min, max) => {
2-
// NOSONAR
2+
// NOSONAR
33
return Math.floor(Math.random() * (max - min + 1)) + min
44
}
55

0 commit comments

Comments
 (0)