Expand Minimize

Do not use 'new' for side effects

This option prohibits the use of constructor functions for side-effects. Some people like to call constructor functions without assigning its result to any variable. (JSHint option 'nonew')

CheckId JSH318920
TypeName DoNotUseNewForSideEffects
Severity Warning
Type JavaScriptFile
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.