'use strict';

{
  const point = {
    x: 100,
    y: 180,
  };

	**//オブジェクトの取得(どちらでもOK)**
  ① console.log(point.x); //定数名.キー
  ② console.log(point['y']); //定数名['キー']

	**//オブジェクトの変更(どちらでもOK)**
  ① point.x = 120; //定数名.キー = 変更後の値
  ② point['x'] = 120; //定数名['キー'] = 変更後の値

	**//オブジェクトの追加**
  point.z = 90; //定数名.追加したいキー = 値;

	**//オブジェクトの削除**
  delete point.y; //delete 定数名.キー;

}