PhpStorm 2019.3 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 propertieswith hasOwnProperty() method. The validation works in JavaScript, html or jsp files.

Last modified: 27 March 2020