From bc9faf6fec80e7f4cfac347c433aad44991ecd74 Mon Sep 17 00:00:00 2001 From: Tomek Wiszniewski Date: Thu, 12 Nov 2015 08:14:26 +0100 Subject: [PATCH] Bring back note about braces --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7aa0062a..a8c2eafa 100644 --- a/README.md +++ b/README.md @@ -699,7 +699,7 @@ Other Style Guides }); ``` - - [8.2](#8.2) If the function body consists of a single expression, feel free to omit the braces and use the implicit return. Otherwise use a `return` statement. + - [8.2](#8.2) If the function body consists of a single expression, feel free to omit the braces and use the implicit return. Otherwise add the parentheses, braces, and use a `return` statement. > Why? Syntactic sugar. It reads well when multiple functions are chained together.