Skip to content

Instantly share code, notes, and snippets.

@santagada
Forked from jerone/gist:306014
Created March 19, 2010 05:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santagada/337269 to your computer and use it in GitHub Desktop.
Save santagada/337269 to your computer and use it in GitHub Desktop.
(function(){return 2*3;}).toString() === (function(){return 6;}).toString(); // true in FF & Opera, false in IE & WebKit, because Opera don't put the actual code of the function on the string and FF optimizes the source to be the same.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment