Skip to content
Browse files

titlecase

  • Loading branch information...
1 parent 21c00ab commit 5b7439e0df710ff6ab89883890d94b38c3efe779 @ArbitraryHubris ArbitraryHubris committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Free-Code-Camp-JavaScript-Style-Guide.md
View
4 Free-Code-Camp-JavaScript-Style-Guide.md
@@ -7,7 +7,7 @@
no hard tabs, ever. No really, just don't do it.
-## Curly braces
+## Curly Braces
Always use curly braces when using the keywords `if/else/else if`. This prevents a lot of ambiguity and will prevent syntax errors in some edge cases.
Bad:
@@ -20,7 +20,7 @@ if (foo) { bar(); }
```
#curlyBracesEverywhere!
-## Space after `function` keyword, except in anonymous functions
+## Space After `function` Keyword, Except in Anonymous Functions
Good:
```js
var foo = function() {

0 comments on commit 5b7439e

Please sign in to comment.
Something went wrong with that request. Please try again.