From f2a65c689831185975c97abc9558d96e4e8bbc46 Mon Sep 17 00:00:00 2001 From: Sharmila Date: Wed, 18 Oct 2017 13:41:24 -0700 Subject: [PATCH] Improves 'Why?' message --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 50212d6d..f0607fa1 100644 --- a/README.md +++ b/README.md @@ -2000,7 +2000,7 @@ Other Style Guides - [17.1](#control-statements) In case your control statement (`if`, `while` etc.) gets too long or exceeds the maximum line length, each (grouped) condition could be put into a new line. The logical operator should begin the line. - > Why? This ensures readability. + > Why? Having operators at the beginning of the line keeps the operators aligned and follows a pattern similar to method chaining. This also improves readability by making it easier to visually follow complex logic. ```javascript // bad