HTML and CSS Reference
What It Does
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
Defines an anonymous function.
Returns true if the property is a property of a specified object.
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
Keyword that you can use to refer to the current object.
Specifies an expression to be evaluated without returning a value.
An operator runs a forklift, finds a phone number, or performs an appendectomy. Java-
Script operators manipulate operands, any combination of numbers, strings, and Bool-
them, called precedence and associativity. Some of the important points you should have
derived from this chapter are:
1. What is precedence?
2. What is associativity?
3. How to evaluate the expression: 5 + 4 - 3 * (12 % 5) / 2
4. The difference between equal and identical.
5. Another way to write x++
6. The rules for the “+” operator.
7. How comparison operators work with numbers and strings.
8. How to use the logical && and || in expressions such as: true && false, 5 || 0, and
9. How to use the conditional operator.
10. What the parseInt() and parseFloat() functions are used for.