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.
davhojt
295bf14319
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
Last First Kiss
Instructions
Create 3 functions:
-
first
: that takes an array or a string and returns its first element or character. -
last
: that takes an array or a string and return its last element or character. -
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.