js中new一個函數的時候,到底發生了什麼

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