[readme] update additional trailing commas, examples

This commit is contained in:
Harrison Shoff
2015-04-29 11:49:28 -07:00
parent 07bba234a0
commit 2521d46683

View File

@@ -1495,8 +1495,7 @@
// bad
const hero = {
firstName: 'Dana',
lastName: 'Scully',
catchPhrase: 'Adventure is out there'
lastName: 'Scully'
};
const heroes = [
@@ -1508,7 +1507,6 @@
const hero = {
firstName: 'Dana',
lastName: 'Scully',
catchPhrase: 'Adventure is out there',
};
const heroes = [