配列とかおれおれAdvent Calendar2018 – 09日目 [] のやつです。初期化子 (initializer) と呼ばれます。 「リテラル」と呼んでも差し支えない。はず。 説明 仕様書では以下のように説明されています。 12.2.5 Array Initializer 12.2.5 Array Initializer (Note: An ArrayLiteral is an expression describing the initialization of an Array object, using a list, of zero or more expressions each of which represents an array element, enclosed in square brackets. The elements need not be lite
![配列初期化子 [] のひみつ。(配列とかおれおれAdvent Calendar2018 – 09日目) | Ginpen.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/de4af7f62b39439905833504e59ba1e153be6d8b/height=288;version=1;width=512/https%3A%2F%2Fginpen.com%2Fwp-content%2Fthemes%2Fginpen-theme%2Fimg%2Ficon-512.png)