Interview question of the issue #267 of rendezvous with cassidoo.
Write a function to output the ordinal suffix of a positive integer concatenated to an inputted number.
Example:
> ordinal(3)
> '3rd'
> ordinal(57)
> '57th'
Just pnpm i
to install all dependencies and then pnpm t
to run the tests!