String.prototype.print = function() { alert(this) } var name = '小明'; name.print();
本文标题:原型扩展
本文链接:https://www.haomeiwen.com/subject/djcgmttx.html
网友评论