Skip to content

Commit c68962b

Browse files
author
tcme
committed
kent is just a string, not a hero
1 parent c2b0ff2 commit c68962b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@
8787
// bad
8888
var superman = {
8989
class: 'superhero',
90-
default: { clark: kent },
90+
default: { clark: 'kent' },
9191
private: true
9292
};
9393
9494
// good
9595
var superman = {
9696
klass: 'superhero',
97-
defaults: { clark: kent },
97+
defaults: { clark: 'kent' },
9898
hidden: true
9999
};
100100
```

0 commit comments

Comments
 (0)