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 MySpace() { this.name = "hello"; var PrivateObject = function (){ console.log("running... "); this.sound = "prd"; this.name = "cau"; console.log(this.sound); }; var prom = new PrivateObject(); console.log(this.name); console.log(prom.sound); console.log(prom.name); return this; } var star = new MySpace(); console.log(star.name); -------------------------------- The PrivateClass is not visible in navigator.
If the line var PrivateObject = function (){ is replaced with var PrivateObject = function PrivateO (){ then the PrivateO is visible in navigator.
Fixed in web-main
Integrated into 'main-silver', will be available in build *201505160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/40e541c2dd21 User: Petr Pisl <ppisl@netbeans.org> Log: #252028 - Private objects are not visible in navigator