Add semicolon in arrow functions section

This commit is contained in:
Felipe Vargas
2016-05-08 17:54:54 -04:00
parent 03c5a1f955
commit b660d4cc3f

View File

@@ -892,7 +892,7 @@ Other Style Guides
const itemHeight = (item) => item.height > 256 ? item.largeSize : item.smallSize;
// good
const itemHeight = (item) => { return item.height > 256 ? item.largeSize : item.smallSize; }
const itemHeight = (item) => { return item.height > 256 ? item.largeSize : item.smallSize; };
```
**[⬆ back to top](#table-of-contents)**