diff --git a/README.md b/README.md index 6c3db4c0..04ef1903 100644 --- a/README.md +++ b/README.md @@ -350,7 +350,7 @@ Other Style Guides const itemsCopy = []; let i; - for (i = 0; i < len; i++) { + for (i = 0; i < len; i += 1) { itemsCopy[i] = items[i]; } @@ -565,7 +565,7 @@ Other Style Guides // good const foo = '\'this\' is "quoted"'; - const foo = `my name is '${name}'`; + const foo = `my name is '${name}'`; ``` **[⬆ back to top](#table-of-contents)**