PhpStorm 2019.2 Help

Code Inspection: Result of object allocation ignored

Reports object allocation where the result of the object allocated is ignored.Such allocation expressions are legal JavaScript, but are usually either inadvertent, orevidence of a very odd object initialization strategy.

Last modified: 23 August 2019