Thomas G. Lopes
victor's picture
victor HF Staff
Checkpoints (#73)
7450ebd unverified
Raw History Blame
125 Bytes
export function pluralize(word: string, count: number): string {
if (count === 1) {
return word;
}
return word + "s";
}