Array cutting in JavaScript

splice
Задание 1

Given the following array:

javascript[1, 2, 3, 4, 5]

Use the splice method to transform the array into the following:

javascript[1, 4, 5]
Задание 2

Given the following array:

javascript[1, 2, 3, 4, 5]

Use the splice method to make it into an array:

javascript[1, 2, 3, 'a', 'b', 'c', 4, 5]
Задание 3

Given the following array:

javascript[1, 2, 3, 4, 5]

Use the splice method to make it into an array:

javascript[1, 'a', 'b', 2, 3, 4, 'c', 5, 'e']