We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ae307 commit e7b402eCopy full SHA for e7b402e
chapter03/3.6 - Animal Shelter/animalShelter.js
@@ -12,7 +12,7 @@ var AnimalShelter = function() {
12
AnimalShelter.prototype.enqueue = function(animal) {
13
if (animal.type === 'dog') {
14
this.dogQ.enqueue(animal);
15
- } else if (animal.type === 'vat') {
+ } else if (animal.type === 'cat') {
16
this.catQ.enqueue(animal);
17
}
18
this.allQ.enqueue(animal);
0 commit comments