JScript Statements (JScript 5.6)
The following table lists JScript statements.
Statements
Description | Language Element |
---|---|
Terminates the current loop, or if in conjunction with a label, terminates the associated statement. |
|
Contains statements to execute when an error occurs in code within the try block. |
|
Activates conditional compilation support. |
|
Causes single-line comments to be ignored by the JScript parser. |
|
Causes multiline comments to be ignored by the JScript parser. |
|
Stops the current iteration of a loop, and starts a new iteration. |
|
Starts the debugger. |
|
Executes a statement block once, and then repeats execution of the loop until a condition expression evaluates to false. |
|
Executes a block of statements for as long as a specified condition is true. |
|
Executes one or more statements for each element of an object or array. |
|
Declares a new function. |
|
Conditionally executes a group of statements, depending on the value of an expression. |
|
Conditionally executes a group of statements, depending on the value of an expression. |
|
Provides an identifier for a statement. |
|
Exits from the current function and returns a value from that function. |
|
Creates variables used with conditional compilation statements. |
|
Enables the execution of one or more statements when a specified expression's value matches a label. |
|
Refers to the current object. |
|
Generates an error condition that can be handled by a try...catch statement. |
|
Implements error handling for JScript. |
|
Declares a variable. |
|
Executes a statement until a specified condition is false. |
|
Establishes the default object for a statement. |