From 79367025e85f4b28f01e3dde098ae81ce485b2dc Mon Sep 17 00:00:00 2001 From: Remek Ambroziak Date: Fri, 22 Dec 2017 10:00:58 +0100 Subject: [PATCH] Fix incorrect syntax --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d6c4ed39e..c6dc32b2c 100644 --- a/README.md +++ b/README.md @@ -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() {} ```