Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JavaScript Algorithms and Data Structures
- Basic JavaScript
- Subtract One Number from Another with JavaScript
- We can also subtract one number from another.
- JavaScript uses the - symbol for subtraction.
- Example
- const myVar = 12 - 6;
- myVar would have the value 6.
- Change the 0 so the difference is 12.
- const difference = 45 - 0;
- for more:https://gurl.pw/lJy6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement