摘要: 原文:http://d.hatena.ne.jp/teramako/20121129/p1从ES-Discuss邮件列表中看到的.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问 阅读全文
posted @ 2012-12-03 21:52 紫云飞 阅读(5960) 评论(1) 推荐(0) 编辑