// 配列宣言
var fruits = new Array();
fruits[0] = 'apple';
fruits[1] = 'grape';
fruits[2] = 'melon';
document.write(fruits[0]);
document.write(fruits[1]);
document.write(fruits[2]);
js_cc_04_array
--------------
A [Pen](https://codepen.io/m-shinkawa/pen/NzrBXr) by [m-shinkawa](https://codepen.io/m-shinkawa) on [CodePen](https://codepen.io).
[License](https://codepen.io/m-shinkawa/pen/NzrBXr/license).