Given the following array:
[1, 2, 3, 4, 5]
Use the splice
method to transform
the array into the following:
[1, 4, 5]
Given the following array:
[1, 2, 3, 4, 5]
Use the splice
method to
make it into an array:
[1, 2, 3, 'a', 'b', 'c', 4, 5]
Given the following array:
[1, 2, 3, 4, 5]
Use the splice
method to
make it into an array:
[1, 'a', 'b', 2, 3, 4, 'c', 5, 'e']