Skip to content

Conversation

aznn
Copy link
Contributor

@aznn aznn commented Nov 17, 2013

In naming conventions var this-is-my-object = {}; is given as an example of a bad name. But this is an invalid name in Javascript. I dont think it is needed since its a syntax error and an invalid name in the first place.

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.
@nurazem
Copy link

nurazem commented Nov 18, 2013

+1

@hshoff
Copy link
Member

hshoff commented Nov 18, 2013

Good catch! 🍻

hshoff added a commit that referenced this pull request Nov 18, 2013
Remove invalid name - Naming Conventions
@hshoff hshoff merged commit 6dff6bc into airbnb:master Nov 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants