Fixed an error in pluralize.md

This commit is contained in:
Rohit Tanwar
2018-01-03 18:17:51 +05:30
committed by GitHub
parent 7ccf148ed9
commit 48ce9249ed

View File

@ -2,7 +2,7 @@
If `num` is greater than `1` returns the plural form of the given string, else return the singular form. If `num` is greater than `1` returns the plural form of the given string, else return the singular form.
Check if `num` is positive. Throw an appropriate `Error` if not, return the appropriate string otherwise. Check if `num` is greater than `0`. Throw an appropriate `Error` if not, return the appropriate string otherwise.
Omit the third argument, `items`, to use a default plural form same as `item` suffixed with a single `'s'`. Omit the third argument, `items`, to use a default plural form same as `item` suffixed with a single `'s'`.
```js ```js