摘要: 1.缺少分号导致的报错 在test()后面加上一个分号就能正常打印 const person = { name: "person", a: function () { console.log(this) } } function test() { (person.a)() } person.a() 阅读全文
posted @ 2020-10-19 14:27 リ 阅读(112) 评论(0) 推荐(0) 编辑