Merge pull request #474 from kriadmin/patch-1

Fixed an error in pluralize.md
This commit is contained in:
Angelos Chalaris
2018-01-03 14:57:24 +02:00
committed by GitHub

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