X Home About The Rejection Diary Code Editor HTML Javascript Youtube Videos Thermdynamics Automobile RAC Joker Quotes Motivational Quotes Contact Disclaimer Privacy Policy
Learn with Joker

Operators in Javascript

Math Oprerator

Addition Operator (+) :- This operator in javascript, you can sum the two or more values. You can also use this operator to add to strings. Its symbol is (+).

Program

Result

Subtraction Operator (-):- This operator is used to subtract two or more value like shown in the example below. Its symbol is (-).

Program

Result

Multiplication Operator (*):- This operator is used to multiply the values. You can also usesd this operator to multiply the string to no. of valuse like shown in example

Program

Result

Division Operator (/):- This operator is to division the two values like shown in below program. Its symbol is (/).

Program

Result

Remainder Operator (%):- This operator is used to return the remainder of the divison, like shown in the program below. Its symbol is (%).

Program

Result