Skip to content

Instantly share code, notes, and snippets.

@fauxparse
Created June 11, 2012 04:08
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 fauxparse/2908481 to your computer and use it in GitHub Desktop.
Save fauxparse/2908481 to your computer and use it in GitHub Desktop.
pathological.js: line 1, col 17, Wrap an immediate function invocation in parentheses to assist the reader in understanding that the expression is the result of a function, and not the function itself.
pathological.js: line 1, col 17, Expected an assignment or function call and instead saw an expression.
pathological.js: line 2, col 17, Move the invocation into the parens that contain the function.
function () {}();
(function () {})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment