摘要: let d = Date.prototype; Object.defineProperties(d, { 'year': { get: function () { return this.getFullYear() }, set: function (y) { this.setFullYear(y) } }, 'month': { ... 阅读全文
posted @ 2019-08-18 13:59 _Iniesta 阅读(382) 评论(0) 推荐(0) 编辑