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.
556 B
556 B
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 ofalphabet
. - Declare a
cutLast
variable that removes the 3 last characters ofalphabet
. - Declare a
cutFirstLast
variable that remove the 5 first characters and 6 last characters ofalphabet
.