実践課題H

日〜土までの、配列の4番目から2つのデータをを削除しなさい。
変数名.splice(開始順番, 削除する数);

var week_array:Array = new Array("月","火","水","木","金","土");
week_array.splice(3,2);

this.week_txt.text = week_array;
this.dataLength_txt.text = week_array.length;

data1_txt.text = week_array[0];
data2_txt.text = week_array[1];
data3_txt.text = week_array[2];
data4_txt.text = week_array[3];
data5_txt.text = week_array[4];
data6_txt.text = week_array[5];