There was an error while loading. Please reload this page.
1 parent ce3f8e9 commit e89e4a9Copy full SHA for e89e4a9
1 file changed
README.md
@@ -1,4 +1,4 @@
1
-# Airbnb JavaScript Style Guide() {
+# Airbnb JavaScript Style Guide
2
3
*A mostly reasonable approach to JavaScript*
4
@@ -2133,8 +2133,8 @@ Other Style Guides
2133
```javascript
2134
// bad
2135
const foo = maybe1 > maybe2
2136
- ? "bar"
2137
- : value1 > value2 ? "baz" : null;
+ ? 'bar'
+ : value1 > value2 ? 'baz' : null;
2138
2139
// split into 2 separated ternary expressions
2140
const maybeNull = value1 > value2 ? 'baz' : null;
0 commit comments