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 this pattern: var testContext = testContext || { createMethod: function() { return function() { return { prop1: "prop1", prop2: 20 }; }; } } var myfn = testContext.createMethod(); console.log(myfn().|); The code completion doesn't show properties of the object returned from myfn().