This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Have a code: function Test() { this.onLoading = function() {}; this.runAJAX = function(urlstring) { this.responseStatus = new Array(2); var self = this; this.xmlhttp.open(this.method, urlstring, this.asynchronous); this.xmlhttp.onreadystatechange = function() { switch (self.xmlhttp.readyState) { case 1: self.onLoading(); break; case 2: self.onLoaded(); self.declare = 1; break; }}; }; } The field declare is visible twice in navigator. One time as a field of Test constructor and also as a filed of self variable.