July 1998
Intermediate to advanced
1456 pages
65h 5m
English
//, /*...*/ — NN 2 IE J1 ECMA n/a
Comment statements that let you enter nonexecuting text in a script.
Any text following the // symbol anywhere in a
statement line is ignored by the language interpreter. The next line
of script, unless it begins with another //
symbol, is interpreted by the browser.
For longer comment blocks, you can begin a block with the
/* symbol. Comment blocks may run any number of
lines. The block is closed with the */ symbol,
after which the interpreter engages subsequent statements.
// convert temp from C to F /* many lines of comments */
Read now
Unlock full access