Is JavaScript code case sensitive?

Troy Niven

Absolutely. If you create

function doSomething(){ }
and try to call it as DoSomething(), or anything other than doSomething() you will receive an
"Object Expected at line x" error

The same applies to variable names. The error will be different, the end result the same. Your code will fail to function properly.

Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact