Created
October 22, 2012 18:16
-
-
Save Kambfhase/3933113 to your computer and use it in GitHub Desktop.
JSHint Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Minimal testcase: | |
function(input){ | |
return input; | |
} | |
Options: | |
/*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