JScript Statement List

Source: Internet
Author: User

 

The break statement terminates the current loop, or terminates the associated statement if it is associated with a label statement.
The catch statement contained in the try statement BlockCodeThe statement executed when an error occurs.
@ Cc_on statement activation condition compilation is supported.
// (Single-row comment statement) ignores a single-row comment by the JScript syntax analyzer.
/* .. */(Multi-line comment statement) causes the multi-line comment to be ignored by the JScript syntax analyzer.
The continue statement stops the current iteration of the loop and starts a new iteration.
The do... while statement executes the statement block once, and then repeats the loop until the value of the conditional expression is false.
As long as the specified condition is true, the for statement block is always executed.
The for... in statement corresponds to executing one or more statements for each element in an object or array.
The function statement declares a new function.
@ If the statement executes a group of statements conditionally based on the value of the expression.
The IF... else statement executes a group of statements conditionally based on the value of the expression.
The labeled statement provides an identifier for the statement.
The Return Statement exits from the current function and returns a value from the function.
@ Set statement: Create a variable for Conditional compilation statements.
When the value of a specified expression matches a tag, a switch statement executes one or more statements.
This statement references the current object.
Throw statements generate an error condition that can be processed by try... catch statements.
Try statement to handle errors in JScript.
The VaR statement declares a variable.
The while statement is executed until the given condition is false.
The with statement determines the default object of a statement.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.