Created
October 1, 2013 22:58
-
-
Save stevencombs/6786559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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