You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
497 B

## More Or Less
### Instructions
Create 4 functions:
- `more` that takes 1 argument and adds 1 to it.
- `less` that takes 1 argument and subtracts 1 from it.
- `add` that takes 2 arguments and adds them together.
- `sub` that takes 2 arguments and subtracts the second argument from the first.
### Notions
- [Functions](https://nan-academy.github.io/js-training/examples/functions.js)
- [Primitives and Operators](https://nan-academy.github.io/js-training/examples/primitive-and-operators.js)