Java Reference
In-Depth Information
Greater than
JavaScript 1.0
v1 > v2
True if left‐hand side (LHS) operand is greater
than right‐hand side (RHS) operand.
Greater than or equal to
JavaScript 1.0
v1 >= v2
True if LHS operand is greater than or equal to
RHS operand.
Less than
JavaScript 1.0
v1 < v2
True if LHS operand is less than RHS operand.
Less than or equal to
JavaScript 1.0
v1 <= v2
True if LHS operand is less than or equal to RHS
operand.
Strictly equal
JavaScript 1.3
v1 === v2
True if operands are equal and of the same type.
Not strictly equal
JavaScript 1.3
v1 !== v2
True if operands are not strictly equal.
arithmetic operators
Arithmetic operators allow you to perform arithmetic operations between variables or values.
naMe
introduced
Meaning
Addition
JavaScript 1.0
v1 + v2
Sum of v1 and v2 . (Concatenation of v1 and v2 , if
either operand is a string.)
Subtraction
JavaScript 1.0
v1 v2
Difference between v1 and v2 .
Multiplication
JavaScript 1.0
v1 * v2
Product of v1 and v2 .
Division
JavaScript 1.0
v1 / v2
Quotient of v2 into v1 .
Modulus
JavaScript 1.0
v1 % v2
Integer remainder of dividing v1 by v2 .
continues
Search WWH ::




Custom Search