5 ms·
var crockford = function(){ while(1); }
by kevincennis 14y ago
var crockford = function(){
while(1);
}
- Yarnage 14y agoError: Problem at line 1 character 25: Expected exactly one space between 'function' and '('. var crockford = function(){ while(1); } Problem at line 1 character 27: Expected exactly one space between ')' and '{'. var crockford = function(){ while(1); } Problem at line 1 character 27: Missing space between ')' and '{'. var crockford = function(){ while(1); } Problem at line 1 character 29: Missing 'use strict' statement. var crockford = function(){ while(1); } Problem at line 1 character 34: Expected exactly one space between 'while' and '('. var crockford = function(){ while(1); } Problem at line 1 character 35: Unexpected '1'. var crockford = function(){ while(1); } Problem at line 1 character 37: Expected exactly one space between ')' and ';'. var crockford = function(){ while(1); } Problem at line 1 character 37: Missing space between ')' and ';'. var crockford = function(){ while(1); } Problem at line 1 character 37: Expected '{' and instead saw ';'. var crockford = function(){ while(1); } Problem at line 1 character 37: Unexpected ';'. var crockford = function(){ while(1); } Problem at line 1 character 39: Cannot convert 'array[0]' to object
- user-id 14y agoProblem at line 1 character 39: Cannot read property 'disrupt' of undefined Huh?
- kevincennis 14y ago'disrupt' is an internal thing. There's a try/catch somewhere that's failing, but he catches the error and adds it to JSLINT.errors as if it were a problem with YOUR code.
- TazeTSchnitzel 14y agoIt was probably an innocent mistake, he most likely put it there for debugging.