Powered by Olark
Real Estate Web Site Design - Site Map Javascript::Javascript-Whitespace and Comments
HomeContactSearchSite MapMore Information
Web Content Solutions
 
 
 
Support Login
    
     SOLUTIONS    >Content    >Hosting   >eCommerce   >Off-Site Customer Support   >Consultation

Javascript::Javascript-Whitespace and Comments

Whitespace

Spaces, tabs and newlines used outside of string constants are called whitespace. Unlike C, whitespace in JavaScript source can directly impact semantics. Because of a technique called "semicolon insertion", any statement that is well formed when a newline is parsed will be considered complete (as if a semicolon were inserted just prior to the newline). Programmers are advised to supply statement terminating semicolons explicitly to enhance readability and lessen unintended effects of the automatic semicolon insertion.

Unnecessary whitespace , whitespace characters that are not needed for correct syntax, can increase the amount of wasted space, and therefore the file size of .js files. Where file compression techniques that remove unnecessary whitespace are used, performance can be improved if the programmers have included these so-called 'optional' semicolons.

Comments

Comment syntax is the same as in C++.

// comment

/* comment */

..

Javascript::Javascript-Whitespace and Comments Related Sites

[READ MORE : Javascript::Javascript-Whitespace and Comments]

Real Estate Web Design Real Estate Web Design

Real Estate Web Site Design is a great place to start for Real Estate Web Design Real Estate Web Site Design is what Web Content Solutions specializes in.
If you are looking for Real Estate Web Design Real Estate, you've come to the right place.
Our Real Estate Web Design Real Estate web site design specializes in Real Estate Web Design real estate web design.
Thank you for taking the time to visit my Real Estate Web Design Real Estate web site.
Feel free to use my Real Estate Web Design real estate home search. Search Real Estate Web Design Real Estate Now!