Skip to content

Commit

Permalink
Merge pull request goldbergyoni#111 from reod/patch-2
Browse files Browse the repository at this point in the history
Fix incorrect syntax
  • Loading branch information
BrunoScheufler authored Dec 27, 2017
2 parents 2c0bb75 + 7936702 commit 6957380
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,20 +284,16 @@
### Code Example ###
```javascript
// for class name we use UpperCamelCase
class SomeClassExample {
class SomeClassExample {}

// for const names we use the const keyword and lowerCamelCase
const config = {
key: 'value'
};

// for variables and functions names we use lowerCamelCase
let someVariableExample = 'value';
function doSomething() {

}

}
// for const names we use the const keyword and lowerCamelCase
const config = {
key: 'value'
};

// for variables and functions names we use lowerCamelCase
let someVariableExample = 'value';
function doSomething() {}
```

<br/><br/>
Expand Down

0 comments on commit 6957380

Please sign in to comment.