This inspection reports JavaScript potentially invalid constructor function usages such as: using non constructor in new, using
constructor's prototype, report
constructor call without new. Constructor function assumed to have upper case name (optional) or have explicit JSDoc @constructor tag.
The validation works in JavaScript, html or jsp files.