Skip to content

Instantly share code, notes, and snippets.

@onewland
Created November 18, 2009 02:19
Show Gist options
  • Save onewland/237496 to your computer and use it in GitHub Desktop.
Save onewland/237496 to your computer and use it in GitHub Desktop.
function TimeInterval() {
this.seconds = 0;
this.addTo = function(ti) {
this.seconds += ti.seconds;
return this;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment