【週刊ドットインストール】 AI関連レッスンの第三弾をリリース、言語ごとのロードマップページを制作中
配列に値を付ける場合に
{ // const point = [100, 180]; // const point = {x: 100, y: 180}; const point = { x: 100, y: 180, }; console.log(y); console.log(x); }
で x, y の値が出ないのはなぜなのでしょうか?
この回答を見るにはプレミアムプランへの登録が必要です