プロパティの操作
const point = {x:100,y:200};
point.x = 300;
point['x'] = 300;
console.log(point.x);
console.log(point['y']);
point.z = 400;
delete point.y;
console.log(point);
const point = {x:100,y:200};
point.x = 300;
point['x'] = 300;
console.log(point.x);
console.log(point['y']);
point.z = 400;
delete point.y;
console.log(point);