I want to know the difference between function and constructor function.
Normal function
function = dosomething(){ //do something };
Constructor Function
function = Dosomething(){ //do something };
Why we keep the first letter capital in constructor function. Is there any specific reason behind it