Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js arithmetic operators

a = 90 + 13; //Addition
b = 72 - 23; //Subtraction
c = 23 * 7; //Multiplication
d = 12 ** 3; //Exponentation
e = 123 / 3; //Division
f = 139 % 2; //Modulus
g++; //Increment
h--; //Decrement
 
PREVIOUS NEXT
Tagged: #js #arithmetic #operators
ADD COMMENT
Topic
Name
1+4 =