Skip to content

Commit f6daa62

Browse files
committed
Update es6.md
You do not use your conventions in your own coding style document ^^
1 parent 8ca94cd commit f6daa62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

es6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ a.reduce((x, y) => x + y, 0);
236236

237237
```js
238238
// bad
239-
const triple = x => 3*x;
239+
const triple = x => 3 * x;
240240

241241
// good
242-
const triple = (x) => 3*x;
242+
const triple = (x) => 3 * x;
243243
```
244244

245245
- Arrow functions **should** be used instead of `Function.prototype.bind` when applicable. `self` / `_this` / `that` trickery **must not** be used.

0 commit comments

Comments
 (0)