Skip to content

Instantly share code, notes, and snippets.

@vladas
Created June 16, 2012 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vladas/2940854 to your computer and use it in GitHub Desktop.
Save vladas/2940854 to your computer and use it in GitHub Desktop.
var getSkwawkStatistics = function(skwawkId) {
return
{
top_skwawkers: [123,1234,12345],
skwawkers_requested: [123,1234,1234,123456],
skwawk_timeline: []
};
}
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