Skip to content

Instantly share code, notes, and snippets.

@hristozov
Created June 2, 2015 17:40
Show Gist options
  • Save hristozov/7bcd0ae1013a5a378a63 to your computer and use it in GitHub Desktop.
Save hristozov/7bcd0ae1013a5a378a63 to your computer and use it in GitHub Desktop.
maxparams failure
{
"maxparams": 4
}
function Foo () {}
// jshint maxparams: 9
Foo.prototype.bar = function (a, b, c, d, e) {
return a + b + c + d + e;
};
// jshint maxparams: 9
function Foo () {}
Foo.prototype.bar = function (a, b, c, d, e) {
return a + b + c + d + e;
};
var Foo = {};
// jshint maxparams: 9
Foo.bar = function (a, b, c, d, e) {
return a + b + c + d + e;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment