freeCodeCamp/guide/english/javascript/tutorials/subtract-one-number-from-an.../index.md

191 B

title
Subtract One Number from Another with JavaScript

We can also subtract one number from another.

JavaScript uses use the - symbol for subtraction.

var difference = 45 - 33;