mirror of https://github.com/01-edu/public.git
295bf14319 | ||
---|---|---|
.. | ||
README.md |
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.