私はペンでこのコード行を使用しています。
const CELLS = ([...Array(9).keys()]).map(key => '#cell' + key)
これをコンソールで使用する
["#cell0", "#cell1", "#cell2", "#cell3", "#cell4", "#cell5", "#cell6", "#cell7", "#cell8"]
と、期待どおりに作成されます。しかし、Babel をオンにすると、次のようになり["#cell[object Array Iterator]"]
ます。