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.
15 lines
408 B
15 lines
408 B
4 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
|
||
|
|
||
|
- https://nan-academy.github.io/js-training/examples/functions.js
|
||
|
- https://nan-academy.github.io/js-training/examples/primitive-and-operators.js
|