Skip to content

Commit

Permalink
Remove invalid name - Naming Conventions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aznn committed Nov 17, 2013
1 parent aaaf392 commit 6445a6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,6 @@
// bad
var OBJEcttsssss = {};
var this_is_my_object = {};
var this-is-my-object = {};
function c() {};
var u = new user({
name: 'Bob Parr'
Expand Down

0 comments on commit 6445a6f

Please sign in to comment.