How to remove first and last element in an array?
For example:
var fruits = ["Banana", "Orange", "Apple", "Mango"];
Expected output array:
["Orange", "Apple"]
See Question&Answers more detail:osHow to remove first and last element in an array?
For example:
var fruits = ["Banana", "Orange", "Apple", "Mango"];
Expected output array:
["Orange", "Apple"]
See Question&Answers more detail:os