Homework 2 #5

Merged
merged 7 commits into from Dec 12, 2018
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+15 −0
Diff settings

Always

Just for now

Added pet and pet owner object literals.

  • Loading branch information...
norbs committed Nov 30, 2018
commit fd8268c6ed7234f544e6df6f7502b97c5db13e8a
@@ -71,6 +71,11 @@ let pet_owner;

// Answer Starts Here

pet_owner = {
name: 'Richard Verner',
address: '123 Maple Lane, Winnipeg, Manitoba',
};

// Answer Ends Here


@@ -90,6 +95,16 @@ let some_pet;

// Answer Starts Here

some_pet = {
name: 'Spot',
species: 'Dog',
breed: 'FOMO Shepherd',
noise: 'woof!',
makeNoise: function() {
console.log(this.noise);

This comment has been minimized.

@vodnik

vodnik Dec 12, 2018

Owner

You nailed this!

},
}

// Answer Ends Here

/////////////////////////////////////////////////////////////
ProTip! Use n and p to navigate between commits in a pull request.