WHAT A LAMP Rotating Header Image

Posts Tagged ‘operatior’

Operators of JavaScript

Every computer language has operators. JavaScript has following items: There are two categories of operators. Binary: Two items (or operands) must be sandwiched on either side of the operator. Unary: onely one operand is required. Arithmetic Operators Operator Description Example Result + Addition x=2y=2x+y 4 – Subtraction x=5y=2x-y 3 * Multiplication x=5y=4x*y 20 / Division [...]