js中new一个函数的时候,到底发生了什么

function x(){             debugger             this.w=1             this.a()         }         x.prototype={             a:function(){                 alert(22)             }         }         console
相关文章
相关标签/搜索