PhpStorm 2019.3 Help

Code Inspection: Nested function

Reports functions nested inside other functions.While JavaScript allows functions to be nested, such constructs may be confusing.Additionally, nested functions are prone to cause difficult-to-diagnose memoryleaks in certain browsers, including Microsoft Internet Explorer.

Use the checkbox below to prevent this inspection from reporting anonymous nested functions.

Last modified: 27 February 2020