Skip to content

Commit

Permalink
Fix incorrect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
reod authored Dec 22, 2017
1 parent b7c9fe4 commit 7936702
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 7936702

Please sign in to comment.