Some other important things to know when scripting with JavaScript.
JavaScript is Case Sensitive A function named "myfunction" is not the same as "myFunction" and a variable named "myar" is not the same as "myvar". JavaScript is case sensitive ! therefore watch your capitali"ation closely when you create or call variables# ob$ects and functions. %hite Space JavaScript ignores e&tra spaces. 'ou can add white space to your script to make it more readable. (he following lines are e)uivalent* name="Hege"; name = "Hege"; +reak up a Code ,ine 'ou can break up a code line within a text string with a backslash. (he e&le below will be displayed properly* document.write("Hello \ World!"); -owever# you cannot break up a code line like this* document.write \ ("Hello World!");
JavaScript Fundamentals: JavaScript Syntax, What JavaScript is Use for in Website Development, JavaScript Variable, Strings, Popup Boxes, JavaScript Objects, Function, and Event Handlers: JavaScript Syntax, What JavaScript is Use for in Website Development, JavaScript Variable, Strings, Popup Boxes, JavaScript Objects, Function, and Event Handlers
JavaScript Fundamentals: JavaScript Syntax, What JavaScript is Use for in Website Development, JavaScript Variable, Strings, Popup Boxes, JavaScript Objects, Function, and Event Handlers