JavaScript »   

Loops in JavaScript
2008-12-27 02:00:00
(...) The for Loop One of the most used and familiar loops is the for loop. This loop iterates through a sequence of statements for a number of times determined by a condition. The condition can be a constant based on a numeric literal (a number) or a constant (that is, a math constant), or the loop can be variable depending on the count in the variable. (...) by George Freedrich

JavaScript Operators
2008-12-27 02:00:00
(...) However, a single expression can have several binary operators. For example, the following variable declaration uses multiple binary operators to define the variable: var calcAdd = (total / n ) + 73 The divide (/) operator and the plus (+) operator are binary operators. The first combination occurs when the variable total is divided by the variable n. (...) by George Freedrich

JavaScript Variables
2008-12-27 02:00:00
(...) You can put all different types of content into the containers, move them to another port, empty them, and then replace the container with new content. However, the container ship analogy suffers when you realize that the content in the containers must have magical properties. If you have a container full of numbers and you add a string, the whole container magically becomes a string. (...) by George Freedrich

JavaScript Literals
2008-12-27 02:00:00
(...) Numbers, strings, and Boolean values make up the core set of literals in JavaScript. Little mystery exists with literals, but important differences exist between them. Numbers The fundamental data in most computer languages are numbers. (...) by George Freedrich

JavaScript Lives in a Web Page
2008-12-27 02:00:00
(...) If you don't know HTML yet, you should run out and get a good book on HTML. Lynda and William Weinman's Creative HTML Design.2 (New Riders, 2001) is a good choice for designers and developers. (...) by George Freedrich


«   1  2 

Categories

Ads