jscript/statements
Материал из Справочник Web-языков.
| Главная | ::. | JScript | ::. | Список конструкций языка JScript |
- Конструкция break - Terminates the current loop, or if in conjunction with a label, terminates the associated statement.
- Конструкция catch - Contains statements to execute when an error occurs in code within the try block.
- Конструкция @cc_on - 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.
- Конструкция continue - Stops the current iteration of a loop, and starts a new iteration.
- Конструкция debugger - Starts the debugger.
- Конструкция do...while - Executes a statement block once, and then repeats execution of the loop until a condition expression evaluates to false.
- Конструкция for - Executes a block of statements for as long as a specified condition is true.
- Конструкция for...in - Executes one or more statements for each element of an object or array.
- Конструкция function - Declares a new function.
- Конструкция @if - Conditionally executes a group of statements, depending on the value of an expression.
- Конструкция if...else - Conditionally executes a group of statements, depending on the value of an expression.
- Конструкция Labeled - Provides an identifier for a statement.
- Конструкция return - Exits from the current function and returns a value from that function.
- Конструкция @set - Creates variables used with conditional compilation statements.
- Конструкция switch - Enables the execution of one or more statements when a specified expression's value matches a label.
- Конструкция this - Refers to the current object.
- Конструкция throw - Generates an error condition that can be handled by a try...catch statement.
- Конструкция try - Implements error handling for JScript.
- Конструкция var - Declares a variable.
- Конструкция while - Executes a statement until a specified condition is false.
- Конструкция with - Establishes the default object for a statement.
