To display quick fixes, select Source > Fix Code (Alt-Enter). The semantic checks include:
Reassigning a parameter.
Anonymous function does not always return a value.
Variable hides argument.
Code which has no side effects (no calls, no assignments).
An assignment in a conditional (if x = y). This semantic error has several quickfixes associated with it, such as converting to an == expression, and adding double parentheses to turn off the warning.
Inconsistent returns from a function (where some return expressions return a value, and some do not).
Action Items List
The background parser and the warning quick fixes are integrated with the action items list.
Open the Action Items window (Window > Action Items) to view errors in any of your files that are associated with JavaScript.
Double-click an item in that list and the editor goes to the relevant line.
For an illustrated description of JavaScript editing features in the NetBeans IDE,
see the following web document: