We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5cad7 commit a42937dCopy full SHA for a42937d
Sprint-3/2-practice-tdd/get-ordinal-number.js
@@ -1,5 +1,7 @@
1
function getOrdinalNumber(num) {
2
- return "1st";
+ if(num === 1)
3
+ return "1st";
4
+ return 0;
5
}
6
7
module.exports = getOrdinalNumber;
0 commit comments