JavaScript
and Case Sensitivity
It should be kept in mind the JavaScript is a
case sensitive programming language (Not like the HTML). So you should be
extremely careful about the code you embed while using JavaScript. Case
sensitivity means that you must type JavaScript elements exactly as they appear
in this book in order for them to work. For example, as far as JavaScript is
concerned, the words “variable” and “Variable” refer to two different things,
so pay special attention when typing your scripts. As for example in our
program instead of using document.write() we mistaken and used Document.write()
so our program ended with an error. So be very careful with JavaScript’s case
sensitivity.
No comments:
Post a Comment