Difference between revisions of "JavaScript Operators"

From Techotopia
Jump to: navigation, search
(Assignment Operators)
Line 12: Line 12:
 
== Assignment Operators ==
 
== Assignment Operators ==
  
In the chapter on [[
+
In the chapter on [[Introducing JavaScript Variables]] we already looked at the '=' assigmnent operator.

Revision as of 18:24, 19 April 2007

JavaScript contains a wide range of operators many of which are used frequently by the typical web designer and some that are not. The purpose of this chapter is to cover the most common operators that a web designer will need in the day to day work of building dynamic web pages.

The key operators for those looking to learn the essentials of JavaScript fall into six categories as follows:

  • Assignment Operators
  • Arithmetic Operators
  • Comparison Operators
  • String Operators
  • Conditional Operators
  • Boolean Operators

Assignment Operators

In the chapter on Introducing JavaScript Variables we already looked at the '=' assigmnent operator.