Fix incorrect syntax

This commit is contained in:
Remek Ambroziak
2017-12-22 10:00:58 +01:00
committed by GitHub
parent b7c9fe4030
commit 79367025e8

View File

@ -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/>