Skip to content

Commit

Permalink
update bug in dogCatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
bethrobson committed Feb 7, 2014
1 parent 4e16508 commit 5d1bc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter12/dogCatcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
this.breed = breed;
this.weight = weight;
}
var meow = {name: "Meow", breed: "Siamese", weight: 10};
var whiskers = {name: "Whiskers", breed: "Mixed", weight: 12};
var meow = new Cat("Meow", "Siamese", 10);
var whiskers = new Cat("Whiskers", "Mixed", 12);

var fido = {name: "Fido", breed: "Mixed", weight: 38};

Expand Down

0 comments on commit 5d1bc05

Please sign in to comment.