window.frames[i] in Javascript
The Window object defines the following properties. Non-portable, browser-specific properties are listed separately after this list. Note that the Window object is the Global objec
Read tutorialTHE TUTORIAL LIBRARY
The Window object defines the following properties. Non-portable, browser-specific properties are listed separately after this list. Note that the Window object is the Global objec
Read tutorialThe call() method is the method most similar to the classic object-masquerading method. Its first argument is the object to be used for this. All other arguments are passed directl
Read tutorialOne of the most important concepts to grasp in JavaScript is the use of the this keyword, which is used in object methods. The this keyword always points to the object that is call
Read tutorialThe Math object is the built-in object that you wish you had during those high school math classes: It knows all the formulas for the most complicated mathematical problems, and it
Read tutorialThe cousin of the if statement, the switch statement, allows a developer to provide a series of cases for an expression. The syntax for the switch statement is:
Read tutorialThe break and continue statements provide stricter control over the execution of code in a loop. The break statement exits the loop immediately, preventing any further repetition o
Read tutorialIterative statements, also called loop statements, specify certain commands to be executed repeatedly until some condition is met. The loops are often used to iterate the values of
Read tutorialOne of the most frequently used statements in JavaScript (and indeed, in many languages), is the if statement. The if statement has the following syntax:
Read tutorialThe logical AND operator in JavaScript is indicated by the double ampersand (&&):
Read tutorialThe logical NOT operator in JavaScript is the same as in C and Java, indicated by an exclamation point (!). Unlike logical OR and logical AND operators, the logical NOT always retu
Read tutorialThe bitwise NOT is represented by a tilde (~) and is one of just a few ECMAScript operators related to binary mathematics. The bitwise NOT is a three-step process:
Read tutorialIt's also possible to convert values using a process called type casting. Type casting allows you to access a specific value as if it were of a different type. Three type casts are
Read tutorialOne example today. A better developer tomorrow.