上一页 1 ··· 12 13 14 15 16
摘要: 所有函数都含有固有属性prototype,构造函数作为函数因此也含有prototype,构造函数的prototype属性中的constructor指向构造函数本身,构造函数new出来的实例对象中没有prototype但有__proto__,实例对象中的__proto__指向其构造函数的prototy 阅读全文
posted @ 2019-11-08 09:32 lipu1993 阅读(104) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16