Skip to content

Commit 68ce473

Browse files
committed
Removed last unnecessary else.
1 parent 31e40fa commit 68ce473

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ function getAngleType(angle) {
2626
return "Straight angle";
2727
} else if (angle > 180 && angle < 360) {
2828
return "Reflex angle";
29-
} else return "Invalid angle";
29+
}
30+
return "Invalid angle";
3031
}
3132

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

0 commit comments

Comments
 (0)