var arr = [];
arr.push('A', 'B', 'C');
console.log(arr);
console.log(arr.shift());
console.log(arr);
console.log(arr.shift());
console.log(arr);
console.log(arr.shift());
console.log(arr);
console.log(arr.shift());
This Pen doesn't use any external CSS resources.