Inspectopedia
 
2024.3

Potentially invalid reference to 'this' of a class from closure

Warning
Code Style
New
Last modified: 03 December 2024

Reports an attempt to reference a member of an ECMAScript class via the this. qualifier in a nested function that is not a lambda.

this in a nested function that is not a lambda is the function's own this and doesn't relate to the outer class.