// スタックの動作イメージ let historyStack = []; historyStack.push("ページA"); historyStack.push("ページB"); // ページBが一番上にある let lastPage = historyStack.pop(); console.log(lastPage); // 出力: "ページB" (最後に入れたものが最初に出る)
利用状況の分析にCookieを使います。同意しない場合でもサイトはそのまま使えます。 詳細