Skip to content

Commit 6445a6f

Browse files
committed
Remove invalid name - Naming Conventions
In naming conventions `var this-is-my-object = {};` is given as an example of a bad name. But since this is an invalid name in Javascript. I dont think it is needed since its a syntax error.
1 parent aaaf392 commit 6445a6f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,6 @@
10081008
// bad
10091009
var OBJEcttsssss = {};
10101010
var this_is_my_object = {};
1011-
var this-is-my-object = {};
10121011
function c() {};
10131012
var u = new user({
10141013
name: 'Bob Parr'

0 commit comments

Comments
 (0)