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

8 lines
191 B
Markdown

---
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;