Skip to content

Instantly share code, notes, and snippets.

@conspirator
Created October 8, 2010 04:39
Show Gist options
  • Save conspirator/616368 to your computer and use it in GitHub Desktop.
Save conspirator/616368 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
function init() {
var me = new Person();
me.setFirstName('Christopher');
me.setLastName('Webb');
me.setJob('Developer');
me.writePerson(1);
var pooh = me;
pooh.setLastName('Robbin');
pooh.setJob('Advisor');
pooh.writePerson(2);
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment