摘要:
构造函数模式与原型模式结合 function Person(name) = { this.name = name this.friends = ["a", "b"] } person.prototype = { constructor: Person, sayName: function() { a 阅读全文
posted @ 2019-11-16 10:31
容忍君
阅读(218)
评论(0)
推荐(0)
摘要:
出处 其中深奥之处非看一次能了解 !对象真的有点绕,但是又很严谨 阅读全文
posted @ 2019-11-16 10:23
容忍君
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号