PhpStorm 2020.2 Help

Code Inspection: Unfiltered for..in loop

Checks for unfiltered for-in loops. The use of this construct results in processing inherited or unexpected properties. You need to filter own properties with hasOwnProperty() method. The validation works in JavaScript, html or jsp files.

Last modified: 08 May 2020