Having trouble understanding why JSLint is surprised by my use of this
in the following code:
An old question I know, but in case it helps anyone, I was watching a talk by Douglas Crockford in which he says (at about 23mins) that he took it out because an attacker could run a method as a function and get access to the global scope with the 'this' keyword.
He says it also meant not using Object.create anymore either - a feature he helped introduce to the language!