Skip to content

Commit e7b402e

Browse files
authored
chore: update animalShelter.js (careercup#70)
1 parent f6ae307 commit e7b402e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter03/3.6 - Animal Shelter/animalShelter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var AnimalShelter = function() {
1212
AnimalShelter.prototype.enqueue = function(animal) {
1313
if (animal.type === 'dog') {
1414
this.dogQ.enqueue(animal);
15-
} else if (animal.type === 'vat') {
15+
} else if (animal.type === 'cat') {
1616
this.catQ.enqueue(animal);
1717
}
1818
this.allQ.enqueue(animal);

0 commit comments

Comments
 (0)