{"blog_url":"https://teramako.hatenadiary.org/","categories":["JavaScript","ECMAScript"],"author_url":"https://blog.hatena.ne.jp/teramako/","provider_url":"https://hatena.blog","type":"rich","description":"ES-Discuss \u306e\u30e1\u30fc\u30ea\u30f3\u30b0\u30ea\u30b9\u30c8\u3067\u77e5\u3063\u305f\u3002 Object.prototype.get = function(){}; var o = {}; Object.defineProperty(o, \"hoge\", { value: \"OK\" }); // TypeError: property descriptors must not specify a value or be writable when a getter or setter has been specified Object.prototype\u306b get, set \u3042\u305f\u308a\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3057\u3066\u3057\u307e\u3046\u3068\u3001Object.def\u2026","image_url":null,"version":"1.0","blog_title":"hogehoge @teramako","width":"100%","height":"190","author_name":"teramako","provider_name":"Hatena Blog","published":"2012-11-29 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fteramako.hatenadiary.org%2Fentry%2F20121129%2Fp1\" title=\"Object.defineProperty \u3067\u304d\u306a\u304f\u306a\u308b\u30b1\u30fc\u30b9 - hogehoge @teramako\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://teramako.hatenadiary.org/entry/20121129/p1","title":"Object.defineProperty \u3067\u304d\u306a\u304f\u306a\u308b\u30b1\u30fc\u30b9"}