mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-10 03:37:57 -05:00
[guide] Add commas to Truth, Equality, and JavaScript
Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
committed by
Jordan Harband
parent
2fc5e2d52c
commit
cda44dad40
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user