From f38dc8030b1c16c571e9d6e35ee5d4def43702f4 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 11 Feb 2018 11:11:52 +0100 Subject: [PATCH] Improve increment --- standards/general.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standards/general.md b/standards/general.md index e70c904..355db68 100644 --- a/standards/general.md +++ b/standards/general.md @@ -49,7 +49,7 @@ Never use spaces between variables and atomic operations (e.g. `!`, `++`, `--`) Don't use whitespace inside ANY parentheses (e.g. functions, loops, conditions, catch, closures). ```js -for (let i = 1; i < 100; i++) { ... } +for (let i = 1; i < 100; ++i) { ... } ``` ```js