Skip to content

Commit 29fc3b3

Browse files
author
russom
committed
A return expression added into isProperFraction function
1 parent c3617ce commit 29fc3b3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
function isProperFraction(numerator, denominator) {
1414
// TODO: Implement this function
15+
return numerator > 0 && numerator < denominator;
1516
}
1617

1718
// The line below allows us to load the isProperFraction function into tests in other files.

0 commit comments

Comments
 (0)