docs(more-or-less): correct grammar

This commit is contained in:
davhojt 2022-04-30 00:01:51 +01:00
parent c3e13bb0d9
commit d2e1dcf820
No known key found for this signature in database
GPG Key ID: C8C3C515E7AF0D2D
1 changed files with 7 additions and 8 deletions

View File

@ -2,14 +2,13 @@
### Instructions
Create 4 functions
- `more` that takes 1 argument and add 1 to it
- `less` that takes 1 argument and subtract 1 to it
- `add` that takes 2 arguments and add them
- `sub` that takes 2 arguments and subtract them
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
- [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)
- [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)