Array Work
or
Solar Systems Planet Game
or
Number Queue
or
Card Stack
RJM Programming - September, 2020
Thanks to
https://www.positronx.io/javascript-array-push-pop-shift-unshift-methods/
Work on ...
push
pop
shift
unshift
var names = ['Blaire', 'Ash', 'Coco', 'Dean', 'Georgia']; // 0️⃣
names.push('Annie', 'Li');
popElement=names.pop();
shiftElement=names.shift();
names.unshift('Zachary', 'Millicent');