5.4 Special Operators

In this chapter, we have covered the most commonly used JavaScript functions. Table 5.17 lists some of the other operators available to be discussed in later chapters when they are applicable .

Table 5.17. Other useful JavaScript operators.


What It Does

, (comma)

Evaluates two expressions and returns the result of the second expression


Deletes an object, an object's property, or an element at a specified index in an array


Defines an anonymous function

in (Netscape 6+, IE 5.5+)

Returns true if the property is a property of a specified object

instanceof (Netscape 6+, IE 5+)

Returns true if the object is of a given object type


Creates an instance of a user -defined object type or of one of the built-in object types


Keyword that you can use to refer to the current object


Specifies an expression to be evaluated without returning a value

JavaScript by Example
JavaScript by Example (2nd Edition)
ISBN: 0137054890
EAN: 2147483647
Year: 2003
Pages: 150
Authors: Ellie Quigley

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net