Skip to content

Commit 90a7852

Browse files
fix formatting in getOrdinalNumber function for consistency
1 parent a4b2b74 commit 90a7852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-3/2-practice-tdd/get-ordinal-number.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ function getOrdinalNumber(num) {
22
if (typeof num !== "number") {
33
return NaN;
44
}
5-
if(!Number.isInteger(num)){
5+
if (!Number.isInteger(num)) {
66
return "not an integer number";
77
}
8-
if(num === 0 ){
8+
if (num === 0) {
99
return "invalid number";
1010
}
1111

0 commit comments

Comments
 (0)