Skip to content

Instantly share code, notes, and snippets.

@specialunderwear
Created January 30, 2012 00:27
Show Gist options
  • Save specialunderwear/1701570 to your computer and use it in GitHub Desktop.
Save specialunderwear/1701570 to your computer and use it in GitHub Desktop.
Accidents can happen ...
> var count = Counter;
> count.next();
1
> var accidental_class_ref = Counter;
> accidental_class_ref.next();
1
> var another_counter = new Counter;
> another_counter.next();
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment