Operators in JavaScript
operand - Entities on which operator acts.
operator - Entities that perform any kind of action on the data
examples
+ ADDITION
- SUBTRACTION
* MULTIPLICATION
/ DIVISION
++ INCREMENT
-- DECREMENT
** TO THE POWER
TWO TYPE OF OPERATOR ARE
1. UNARY - those operands having only one operand
EX c = c++ or c = c--
2. BINARY - those having more than one operand
EX c = a + b or c = a - b
Comments
Post a Comment