摘要: 有趣的面试题 let obj = { count: 70, get counter() { return this.count + 1 }, set counter(x) { this.count = x++ * +'2' // 这是值是200 } } obj.counter = 100; cons 阅读全文
posted @ 2020-08-11 11:56 猫神甜辣酱 阅读(248) 评论(0) 推荐(0) 编辑