We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e726246 commit d526887Copy full SHA for d526887
src/pages/Result/index.tsx
@@ -16,7 +16,7 @@ const Result: React.FC = () => {
16
if (factorialNumber <= 20) {
17
let string = "";
18
for (let i = factorialNumber; i > 0; i--) {
19
- if (i == 1) {
+ if (i === 1) {
20
string += `${i} = `;
21
} else {
22
string += `${i} x `;
0 commit comments