Is JavaScript case sensitive language?


Yes, JavaScript is a case sensitive language. For example:

Var msg = "JavaScript is a case-sensitive language"; //Here, var should be used to declare a variable  
function display()   
{  
document.writeln(msg); // It will not display the result.  
}   
display();  

Leave a Reply

Your email address will not be published. Required fields are marked *