One of the most basic things we can do in Javascript is to perform simple mathematical operations. We can do this through simple operations, and also using the Javascript Math function.

Note: to do mathematical operations, we need to be comparing numbers. A number that is in quotation marks will not work in mathematical operations.

#javascript 

How to Do Math in Javascript
4.70 GEEK