mirror of https://github.com/01-edu/public.git
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.
16 lines
535 B
16 lines
535 B
5 years ago
|
## More Or Less
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Create 4 functions
|
||
|
- `more` that takes 1 argument and add 1 to it
|
||
|
- `less` that takes 1 argument and substract 1 to it
|
||
|
- `add` that takes 2 arguments and add them
|
||
|
- `sub` that takes 2 arguments and substract them
|
||
|
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- [nan-academy.github.io/js-training/examples/functions](https://nan-academy.github.io/js-training/examples/functions.js)
|
||
|
- [nan-academy.github.io/js-training/examples/primitive-and-operators](https://nan-academy.github.io/js-training/examples/primitive-and-operators.js)
|