public/subjects/cut
Clement Denis 3cdfd1a34c discovery-piscine: update exercises and test 2021-04-12 03:15:36 +01:00
..
README.md discovery-piscine: update exercises and test 2021-04-12 03:15:36 +01:00

README.md

Cut ✂️

Instructions

Using the .slice method and the provided alphabet variable which is a string of all the character in an alphabet:

  • Declare a cutFirst variable that removes the 10 first characters of alphabet.
  • Declare a cutLast variable that removes the 3 last characters of alphabet.
  • Declare a cutFirstLast variable that remove the 5 first characters and 6 last characters of alphabet.

Notions