Modifying arrays with arrow functions

Report a typo

In JavaScript, consider the following array:

let myArray = [1, 2, 3];

Which of the following code snippets correctly defines an arrow function to modify the array by removing the first element and adding '5' and '6' to the end of the array?

Select one or more options from the list
___

Create a free account to access the full topic