JavaScript issue
JavaScript
function test(){
var self = this;
self.func1 = function(){
console.log(self);
debugger;
}
self.func1();
}
var t = new test();
function test(){
var self = this;
self.func1 = function(){
console.log(self);
debugger;
}
self.func1();
}
var t = new test();