• Home
  • About Us
  • Courses
  • Accreditation
  • FAQ
  • Academic Study Center
  • E-Learning
  • Contact Us
  • aecu

  • JavaScript Home
  • JavaScript Introduction
  • JavaScript How To
  • JavaScript Where To
  • JavaScript Statements
  • JavaScript Comments
  • JavaScript Variables
  • JavaScript Operators
  • JavaScript Comparisom
  • JavaScript If....Else
  • JavaScript Switch
  • JavaScript Popup Boxes
  • JavaScript Functions
  • JavaScript For Loop
  • JavaScript While Loop
  • JavaScript Break Loop
  • JavaScript For....In
  • JavaScript Events
  • JavaScript Try....Catch
  • JavaScript Throw
  • JavaScript Special Text
  • JavaScript Guidelines
  • JavaScript Ojects Intro
  • JavaScript String
  • JavaScript Date
  • JavaScript Array
  • JavaScript Boolean
  • JavaScript Math
  • JavaScript RegExp
  • JavaScript Brower
  • JavaScript Cookies
  • JavaScript Validation
  • JavaScript Animation
  • JavaScript Image Maps
  • JavaScript Timing
  • JavaScript Create Object
  • JavaScript Summary

  • Learn at your own pace

JavaScript Guidelines

Previous Chapter
Next Chapter

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 "myVar" is not the same as "myvar".

JavaScript is case sensitive - therefore watch your capitalization closely when you create or call variables, objects and functions.


White Space

JavaScript ignores extra spaces. You can add white space to your script to make it more readable. The following lines are equivalent:
name="Hege";
name = "Hege";

Break up a Code Line

You can break up a code line within a text string with a backslash. The example below will be displayed properly:

document.write("Hello \
World!");
However, you cannot break up a code line like this:
document.write \
("Hello World!");
Previous Chapter
Next Chapter
 

 
 
Home|
About Us|
Courses|
Accreditation|
FAQ|
Academic Study Center|
E-Learning|
Contact Us
©  AECU 2004-2010 , All rights Reserved