{"author_url":"https://blog.hatena.ne.jp/basyura/","blog_title":"basyura's blog","blog_url":"https://blog.basyura.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.basyura.org%2Fentry%2F2022%2F03%2F06%2F155449\" title=\"javascript : getter, setter, Proxy, Reflect - basyura&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_name":"basyura","published":"2022-03-06 15:54:49","categories":["javascript"],"width":"100%","provider_name":"Hatena Blog","image_url":null,"url":"https://blog.basyura.org/entry/2022/03/06/155449","description":"\u6700\u8fd1\u306e javascript \u3082\u3042\u308b\u7a0b\u5ea6\u52c9\u5f37\u3057\u305f\u3064\u3082\u308a\u3060\u3063\u305f\u3051\u3069\u3001\u5168\u304f\u77e5\u3089\u306a\u304b\u3063\u305f\u3002 \u660e\u793a\u7684\u306a getter & setter const hogeProxy = { _hoge: null, set hoge(v) { this._hoge = v; }, get fuga() { return this._hoge; }, }; hogeProxy.hoge = \"(=\u03a6\u03c9\u03a6)\"; console.log(hogeProxy.hoge); //=> undefined console.log(hogeProxy._hoge); //=> (=\u03a6\u03c9\u03a6) console.log(hogePro\u2026","type":"rich","provider_url":"https://hatena.blog","title":"javascript : getter, setter, Proxy, Reflect","height":"190"}