Browse Source

docs(first-last-kiss): correct grammar

pull/1068/head
davhojt 2 years ago
parent
commit
295bf14319
No known key found for this signature in database
GPG Key ID: C8C3C515E7AF0D2D
  1. 13
      subjects/last-first-kiss/README.md

13
subjects/last-first-kiss/README.md

@ -4,16 +4,13 @@
Create 3 functions:
- a `first` function that takes an array or a string
and return the first element.
- `first`: that takes an array or a string and returns its first element or character.
- a `last` function that takes an array or a string
and return the last element.
- `last`: that takes an array or a string and return its last element or character.
- a `kiss` function that returns an array of 2 elements
the last and the first element, in that order
- `kiss`: that takes an array or string, and returns an array of 2 elements. The returned array should contain the last and first elements or characters, in that order.
### Notions
- [nan-academy.github.io/js-training/examples/data-structures.js](https://nan-academy.github.io/js-training/examples/data-structures.js)
- [nan-academy.github.io/js-training/examples/get.js](https://nan-academy.github.io/js-training/examples/get.js)
- [Data Structures.js](https://nan-academy.github.io/js-training/examples/data-structures.js)
- [Get.js](https://nan-academy.github.io/js-training/examples/get.js)

Loading…
Cancel
Save