From c405bcf67324a432f34e4c35f6da6654755e1246 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Wed, 12 Dec 2018 18:38:21 +0200 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 099dccc00..f3fca97b9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,7 +67,7 @@ Here's what you can do to help: - `nums` for arrays of numbers. - Use `()` if your function takes no arguments. - Use `_` if an argument inside some function (e.g. `Array.prototype.reduce()`) is not used anywhere in your code. -- Specify default parameters for arguments, if necessary. It is preferred to put default parameters last unless you have pretty a good reason not to. +- Specify default parameters for arguments, if necessary. It is preferred to put default parameters last unless you have a pretty good reason not to. - If your snippet's function takes variadic arguments, use `...args` (although in certain cases, it might be needed to use a different name). - If your snippet function's body is a single statement, omit the `return` keyword and use an expression instead. - Always use soft tabs (2 spaces), never hard tabs.