I used JSLint on a JavaScript file of mine. It threw the error:

for( ind in evtListeners ) {

Problem at line 41 character 9: The body of a for in should be
wrapped in an if statement to filter unwanted
properties from the prototype.

What does this mean?

9 Answers
9

Leave a Reply

Your email address will not be published. Required fields are marked *