Skip to content

Instantly share code, notes, and snippets.

@stevencombs
Created October 1, 2013 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevencombs/6786559 to your computer and use it in GitHub Desktop.
Save stevencombs/6786559 to your computer and use it in GitHub Desktop.
// Javascript Getting Started with Programming
// A Codecademy Javascript (Literally Speaking) assignment
// Dr. Steven B. Combs, coding novice
// Object with method (function) using Literal Constrution
var james = {
job: "programmer",
married: false,
speak: function() {
console.log("Hello, I am feeling great");
console.log("Hello, I am feeling just okay");
}
};
james.speak("great");
james.speak("just okay");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment