Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// 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
You can’t perform that action at this time.