From 404bb2e345c31e2342b5b8f3b79451f1c1262924 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Thu, 27 Feb 2020 07:19:50 +0100 Subject: [PATCH] Minor text fixes. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 269b504..9cbaa27 100644 --- a/README.md +++ b/README.md @@ -366,21 +366,21 @@ package.json package-lock.json ``` -### 💩 Always name your boolean value 'flag' +### 💩 Always name your boolean value a `flag` Leave the space for your colleagues to think what the boolean value means. _Good 👍🏻_ ```javascript -let flag = true +let flag = true; ``` _Bad 👎🏻_ ```javascript -let isDone = false -let isEmpty = false +let isDone = false; +let isEmpty = false; ``` ### 💩 Long-read functions are better than short ones.