I used JSLint on a JavaScript file of mine. It threw the error:
for( ind in evtListeners ) {
Problem at line 41 character 9:
This means that you should filter the properties of evtListeners with the hasOwnProperty method.
Bad: (jsHint will throw a error)
for (var name in item) { console.log(item[name]); }
Good:
for (var name in item) { if (item.hasOwnProperty(name)) { console.log(item[name]); } }