[guide] Add commas to Truth, Equality, and JavaScript

Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
Joe Mornin
2023-08-01 09:25:54 -07:00
committed by Jordan Harband
parent 2fc5e2d52c
commit cda44dad40

View File

@@ -2073,7 +2073,7 @@ Other Style Guides
```
<a name="comparison--moreinfo"></a><a name="15.4"></a>
- [15.4](#comparison--moreinfo) For more information see [Truth Equality and JavaScript](https://javascriptweblog.wordpress.com/2011/02/07/truth-equality-and-javascript/#more-2108) by Angus Croll.
- [15.4](#comparison--moreinfo) For more information see [Truth, Equality, and JavaScript](https://javascriptweblog.wordpress.com/2011/02/07/truth-equality-and-javascript/#more-2108) by Angus Croll.
<a name="comparison--switch-blocks"></a><a name="15.5"></a>
- [15.5](#comparison--switch-blocks) Use braces to create blocks in `case` and `default` clauses that contain lexical declarations (e.g. `let`, `const`, `function`, and `class`). eslint: [`no-case-declarations`](https://eslint.org/docs/rules/no-case-declarations)