Konvensi Penamaan JS

//variable names, function names, and parameter names are camel case
var myVariable = 27;
var myFunction = function(myParameter){
	console.log(myParameter);
};

//constants are uppercase
const MYCONSTANT = 27;

//constructor functions are pascalcase
var MyConstructor = function(){
  this.myProperty = 27;
};
FlashingMustard