shiftの読み方
javascriptで利用されるメソッドの1つであり、キーボードにも使用されている「shift」の読み方を掲載してます。
読み⽅
「シフト」と読みます。
英訳
「shift」は「交代」という意味があります。
shiftとは
javascriptでは、配列の先頭の値を削除するメソッドとなります。
const arr1 = ["a","b","c"];
const val = arr1.shift();
console.log(val);
//結果 a
console.log(arr1);
//結果 ["b", "c"]
-
前の記事
Appveyorの読み方 2020.08.21
-
次の記事
soplanningの読み方 2020.08.21