Javascript/shift()

解説 先頭の要素を削除
sample1

s1p

sample1code
function s1Func(){
  let s1p = document.getElementById("s1p");
  let a = ["aa", "bb", "cc"];
  a.shift();
  s1p.textContent = a;
}