Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code check
var james = {
job: "programmer",
married: false,
sayJob: function() {
console.log("Hi, I work as a " + james.job);
}
};
// james' first job
james.sayJob();
// change james' job to "super programmer" here
james.job = "super programmer";
// james' second job
james.sayJob();
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.