分割代入をしたあと、scores に数値が残っているのはなぜですか?

分割代入を使っても、もとの配列は変更されません。
2021年10月26日
ユーザー
const scores = [80, 90, 40, 70];
const [a, b, ...others] = scores;
      console.log(a);
      console.log(b);
      console.log(others);
      console.log(scores);

scores80, 90, 40, 70が入っているのはなぜでしょうか?
scoresの中身は空と思ったのですが。

この回答を見るにはプレミアムプランへの登録が必要です

プレミアムプランとは?