From 0f63a65d31dabd3127384b4b7e67159825c5c74b Mon Sep 17 00:00:00 2001 From: Rohit Tanwar <31792358+kriadmin@users.noreply.github.com> Date: Wed, 3 Jan 2018 18:17:51 +0530 Subject: [PATCH] Fixed an error in pluralize.md --- snippets/pluralize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/pluralize.md b/snippets/pluralize.md index 445ceca3b..decf1c2ef 100644 --- a/snippets/pluralize.md +++ b/snippets/pluralize.md @@ -2,7 +2,7 @@ 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'`. ```js