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 b31a586 commit 3fb1336Copy full SHA for 3fb1336
1 file changed
Sprint-3/2-practice-tdd/get-ordinal-number.js
@@ -1,5 +1,5 @@
1
function getOrdinalNumber(num) {
2
- return "1st";
+ return `${num}st`;
3
}
4
5
module.exports = getOrdinalNumber;
0 commit comments