Grammar > Operators
Stops execution of the current loop and returns control to the next script statement following the end of the current loop.
The AND operator compares two Boolean expressions for equality. If both expressions evaluate to true , the result of the && operator also
The addition operator works with both numbers and strings, but its results vary with the data types of its operands. When both operands are numbers,
This is the add-by-value operator. This class of operator combines a regular assignment operator ( = ) with one of the many other operators to c
Stops execution of the current function. A return statement can be located anywhere within the function, including inside control structures. You c
The with statement adds an object to the scope of every statement nested within. This can shorten the code of some statement groups that rely on a
Executes statements in a loop as long as a condition is true. Because the condition is tested at the beginning of the loop, it is conceivable that und
The typeof operator returns one of six string descriptions of the data type of a value. Those returned types are: boolean function
This construction provides a nondisruptive way to trap for errors and handle them gracefully. Both parts of this exception-handling construction are r
Triggers an exception condition, passing a value along with the exception. Although the value you pass can be a simple string, ideally you should pa
Refers to the current object. For example, in a form control object event handler, you can pass the object as a parameter to the function: <
Provides a shortcut to execution paths for numerous conditions of an expression. The optional break statement at the end of each case block shortcuts
This is a variation of the regular for loop that can extract the property names and values of an object. Only properties (and, in Netscape 6, meth
1-15 / 56 >
Powered by Linode.