[Contents] [Previous] [Next] [Index]

comment

Notations by the author to explain what a script does. Comments are ignored by the interpreter.

Implemented in

Navigator 2.0, LiveWire 1.0

Syntax

// comment text
/* multiple line comment text */

Description

JavaScript supports Java-style comments:

Examples

// This is a single-line comment.
/* This is a multiple-line comment. It can be of any length, and
you can put whatever you want here. */


[Contents] [Previous] [Next] [Index]

Last Updated: 10/31/97 12:29:59


Copyright � 1997 Netscape Communications Corporation