摘要:
<script> function x() { } //为函数x的prototype原型对象添加add方法 x.prototype.add = function (a) { return a } var xxx = new x() console.log(xxx.add);//函数add conso 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1968139/202011/1968139-20201118180508411-11950698.png) 阅读全文