JSLint Error: Unexpected ‘this’

Your code might be perfectly correct (it might also be problematic, depending on how you call testConstr).

My suggestion is: tell JSLint to shut up

enter image description here

Or don’t use JSLint at all.

Leave a Comment