JavaScript Arithmetic Operators

JavaScript Arithmetic Operators

+ Addition
- Subtraction
/ Division
* Multiplication
% Modulus (Remainder)
** Exponentiation (ES2016)
++ Increment
-- Decrement


Addition

The addition operator (+) adds numbers:

Try in editor

Subtracting

The subtraction operator (-) subtracts numbers.

Try in editor

Multiplying

The multiplication operator (*) multiplies numbers.

Try in editor

Dividing

The division operator (/) divides numbers.

Try in editor

Remainder

The modulus operator (%) returns the division remainder.

Try in editor

Incrementing

The increment operator (++) increments numbers.

Try in editor

Decrementing

The decrement operator (--) decrements numbers.

Try in editor

Exponentiation

The exponentiation operator (**) raises the first operand to the power of the second operand.

Try in editor

About Us

Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.

Services

Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.


Terms of Use

comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.

Privacy policy

comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.


Sitemap

sitemap

copyright © 2023