How to Remove First and Last Elements from an Array in JavaScript

How to Remove First and Last Elements from an Array in JavaScript