Skip to content

Instantly share code, notes, and snippets.

@dherman
Created October 9, 2011 18:51
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 dherman/1274013 to your computer and use it in GitHub Desktop.
Save dherman/1274013 to your computer and use it in GitHub Desktop.
Allowing keywords as variables creates cross-phase ambiguities
function wtf(x) {
var f =
function(x)
{
alert(x);
}
var function = alert;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment