- []
Literal array: []
examples/js/new_array_brackets.js
"use strict"; var fruits = ["apple", "banana", "peach"]; var i; console.log(fruits); // [ "apple", "banana", "peach" ] console.log(fruits[1]); // "banana" for (i = 0; i < fruits.length; i++) { console.log(fruits[i]); }