Skip to content

Instantly share code, notes, and snippets.

@knewter
Created November 20, 2009 02:20
Show Gist options
  • Save knewter/239234 to your computer and use it in GitHub Desktop.
Save knewter/239234 to your computer and use it in GitHub Desktop.
var some_object = {
x: "whee",
foo: function(arg1){
alert(arg1);
}
};
alert(some_object.x);
some_object.foo("bar");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment