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.
In PHP, if you invoke cc for i.e.: - for - fun etc. There are code templates offered in code completion window that generates stubs of foreach statement, function declaration etc. I think this would be quite useful in JavaScript as well