Skip to content

Commit cc50e64

Browse files
committed
Updated README, code sample with semi-colons.
Code examples ended in commas instead of semi-colons. Fixed as it's distracting to look through when it's trying to illustrate variable declaration order.
1 parent be2808c commit cc50e64

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -361,16 +361,16 @@ Heavily inspired by them as well:
361361
```javascript
362362
// bad
363363
var i;
364-
var items = getItems(),
365-
var dragonball,
366-
var goSportsTeam = true,
364+
var items = getItems();
365+
var dragonball;
366+
var goSportsTeam = true;
367367
var len;
368368
369369
// good
370-
var items = getItems(),
371-
var goSportsTeam = true,
372-
var dragonball,
373-
var length,
370+
var items = getItems();
371+
var goSportsTeam = true;
372+
var dragonball;
373+
var length;
374374
var i;
375375
```
376376

0 commit comments

Comments
 (0)