mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 02:58:03 -05:00
Require parentheses
As suggested by @ljharb in https://github.com/airbnb/javascript/pull/579#issuecomment-166981740
This commit is contained in:
@@ -743,7 +743,7 @@ Other Style Guides
|
||||
```
|
||||
|
||||
|
||||
- [8.4](#8.4) <a name='8.4'></a> If your function takes a single argument and doesn’t use braces, omit the parentheses.
|
||||
- [8.4](#8.4) <a name='8.4'></a> If your function takes a single argument and doesn’t use braces, omit the parentheses. Otherwise, always include parentheses around arguments.
|
||||
|
||||
> Why? Less visual clutter.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user