From e9513561bdae3a802ac499aadf9b796b22c8a744 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Wed, 14 Jan 2015 14:51:49 +0300 Subject: [PATCH] Update JavaScript Name and Coding Conventions some style correction --- JavaScript Name and Coding Conventions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JavaScript Name and Coding Conventions b/JavaScript Name and Coding Conventions index 61059ad..2e41f74 100644 --- a/JavaScript Name and Coding Conventions +++ b/JavaScript Name and Coding Conventions @@ -8,7 +8,7 @@ | Constants name | PascalCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No | | Field name | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No | -*** + Coding conventions are style guidelines for programming. They typically cover: 1. Naming and declaration rules for variables and functions. @@ -32,9 +32,11 @@ Always use the same naming convention for all your code. For example: Do use PascalCasing for function names: +```javascript function HelloWorld() { } +``` Do use camelCasing for function arguments and local variables: