JavaScript 屬直譯式語言(Interpreted language),變數可以不必宣告。 ... var pets = []; // 宣告一個空陣列pets[2] = '蜥蜴'; pets[3] = '蛇'; ...
確定! 回上一頁