摘要: Person.prototype.name = "sunny"; function Person () { } var person = new Person(); Person.prototype = { name : "cherry" } Person的name最终为“sunny”,原因如下: 阅读全文
posted @ 2019-12-13 17:54 另一场风花雪月 阅读(101) 评论(0) 推荐(0)