Skip to content

Instantly share code, notes, and snippets.

@jbgutierrez
Created October 27, 2009 15:57
Show Gist options
  • Save jbgutierrez/219657 to your computer and use it in GitHub Desktop.
Save jbgutierrez/219657 to your computer and use it in GitHub Desktop.
<script>
var toggle = function(){
alert("She loves me!");
var that = toggle;
toggle = function(){
alert("She loves me not!");
toggle = that;
}
}
do
toggle();
while(Math.round(Math.random()*4) != 4)
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment