how to list every element in an array code example
Example: every element in list after first javascript
var middlePoints = ['A', 'B', 'C', 'D'];
middlePoints.shift();
console.log(middlePoints); //['B', 'C', 'D']
var middlePoints = ['A', 'B', 'C', 'D'];
middlePoints.shift();
console.log(middlePoints); //['B', 'C', 'D']