Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
JSHint Bug
Minimal testcase:
return input;
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, undef:true, unused:true, browser:true, devel:true, jquery:true, es5:true, indent:4, maxerr:50 */
Produced Errors:
Line 1: function(input){
Missing name in function declaration.
Line 1: function(input){
'undefined' is defined but never used.
The last one is rather weird. That functions name is undefined, not 'undefined'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.