Skip to content

Commit 38c28b3

Browse files
author
russom
committed
Implement if condition to check propr function.
1 parent c80ed87 commit 38c28b3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎implement-and-rewrite-tests/implement/2-is-proper-fraction.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@
1515

1616
export function isProperFraction(numerator, denominator) {
1717
// TODO: Implement this function
18+
if (numerator < denominator) {
19+
return true;
20+
} else {
21+
return false;
22+
}
1823
}
24+

0 commit comments

Comments
 (0)