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

11 lines
268 B
Markdown
Raw Normal View History

---
title: Subtract One Number from Another with JavaScript
localeTitle: 使用JavaScript从另一个数字中减去一个数字
---
我们也可以从另一个数字中减去一个数字。
JavaScript使用 - 符号进行减法。
```
var difference = 45 - 33;
```