Created
June 16, 2012 10:02
-
-
Save vladas/2940854 to your computer and use it in GitHub Desktop.
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
var getSkwawkStatistics = function(skwawkId) { | |
return | |
{ | |
top_skwawkers: [123,1234,12345], | |
skwawkers_requested: [123,1234,1234,123456], | |
skwawk_timeline: [] | |
}; | |
} |
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
Errors | |
line 1 character 35 | |
Expected exactly one space between 'function' and '('. | |
var getSkwawkStatistics = function(skwawkId) { | |
line 2 character 3 | |
Missing 'use strict' statement. | |
return | |
line 2 character 3 | |
Expected 'return' at column 9, not column 3. | |
return | |
line 2 character 9 | |
Expected ';' and instead saw '{'. | |
return | |
line 3 character 5 | |
Unreachable '{' after 'return'. | |
{ | |
line 3 character 5 | |
Expected '{' at column 9, not column 5. | |
{ | |
line 4 character 7 | |
Expected to see a statement and instead saw a block. | |
top_skwawkers: [123,1234,12345], | |
line 4 character 7 | |
Expected 'top_skwawkers' at column 1, not column 7. | |
top_skwawkers: [123,1234,12345], | |
line 4 character 7 | |
Unexpected label 'top_skwawkers'. | |
top_skwawkers: [123,1234,12345], | |
line 4 character 7 | |
Stopping. (50% scanned). | |
unused | |
skwawkId 'getSkwawkStatistics' 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment