Challenge: Array Destructuring

This challenge will test your skills in implementing basic array destructuring in JavaScript.

Problem statement #

Given an array, you have to remove the first two elements using array destructuring.

This problem will help you in implementing basic array destructuring. Use it to solve the challenge.

Input #

An array list

Output #

list returned with the first two elements removed

Sample input #


Sample output #


Level up your interview prep. Join Educative to access 80+ hands-on prep courses.