Skip to content

Instantly share code, notes, and snippets.

@jch
Created October 22, 2011 21:57
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jch/1306535 to your computer and use it in GitHub Desktop.
/* **She grows old and feeble** */
//...But she would always have to return back to her dull world of chores and grown-ups.
return function() {
// And her latest story would be filled with wonder
latestStory = adventures[adventures.length - 1];
// But time is a bitch...
setInterval(function() {
// and our dear princess can't help but forget her adventures,
// until one day when she wakes up with no adventures and an undefined future.
return adventures.pop();
}, 99999);
return latestStory;
}
@jswartwood
Copy link

Ha! Wasn't sure what to expect when I clicked the link... Thanks, that gave me a good chuckle.

@Ghoughpteighbteau
Copy link

shouldn't that be shift?

Copy link

ghost commented Oct 8, 2014

lmao ... return adventures.pop()
happens to the best of us
👍

@orharel
Copy link

orharel commented Dec 22, 2015

// until one day when she wakes up with no adventures and an undefined future

Priceless. I'm so happy that I pressed the link :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment