1.0.1 • Published 5 years ago
ordinal-suffix-of v1.0.1
ordinal-suffix-of
Use:
import { ordinalSuffixOf } from 'ordinal-suffix-of';
let a = 123;
console.log(a + ordinalSuffixOf(a))
Notes:
ordinalSuffixOf
expects aNumber
.- Any type other than
Number
will throw an Error.