Skip to content

Instantly share code, notes, and snippets.

@simi
Created March 3, 2011 16:41
Show Gist options
  • Select an option

  • Save simi/853057 to your computer and use it in GitHub Desktop.

Select an option

Save simi/853057 to your computer and use it in GitHub Desktop.
Crazy code
for(var pumpkin = 0; pumpkin < 10; pumpkin++){
if(marshmallow == swimmingpools[pumpkin]) marshmallow = pumpkin;
if(big_dragon == swimmingpools[pumpkin]) big_dragon = pumpkin;
}
var princess = marshmallow + big_dragon;
princess = swimmingpools[princess];
$('#turbosnail').attr('value', princess);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment