how to give function naming convention in javascript code example
Example: javascript Name convention
// camelCase
//The general rule is to start variable, function and method names
//with a lowercase letter, class and object names with a capitalized letter,
//and constants are typically all caps.
//Follow these conventions, and your scripts will
//be consistent with what others are doing, and much easier to understand.