JavaScript Statements: @if statement

By: Dusty Arlia
Published on Wednesday, September 11, 2013, 08:07 PM
Last Updated on Sunday, July 05, 2015 at 4:12 PM
Total Updates: 2

The @if statement is used inside of JavaScript comments. It is typically used to determine which text among several options should be used for text output. When you write a script for a webpage, always add conditional compilation code in comments. This enables hosts that do not support conditional compilation to ignore it.

Comments:

Ad:

Ad: