Remove First and Last Element Array in JavaScript

welcome to shbcf.ru