摘要: function Chenqiguo(){ alert('qiguo'); } Chenqiguo.prototype.getName = function(){ alert('prototype qiguo'); } 我们分别用new实例化构造函数和用普通的函数执行对原型求值 var chenqi 阅读全文
posted @ 2024-03-20 11:29 影思密达ing 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考 https://www.runoob.com/w3cnote/js-call-apply-bind.html https://www.cnblogs.com/mc-congxueda/p/16724671.html 阅读全文
posted @ 2024-03-20 11:15 影思密达ing 阅读(2) 评论(0) 推荐(0) 编辑