public/subjects/cut/README.md

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 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