Skip to content

Commit 2c28a87

Browse files
committed
Corrected an error in the code
1 parent ac08757 commit 2c28a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/2-is-proper-fraction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function isProperFraction(numerator, denominator) {
1818
return false;
1919
}
2020
else if (numerator === 0){
21-
retrurn (false);
21+
retrurn (true);
2222
}
2323
else if (denominator === 0){
2424
return (false);

0 commit comments

Comments
 (0)