Skip to content

Commit 9e35b7d

Browse files
authored
fix: semicolons (7-37)
1 parent 820a3f4 commit 9e35b7d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

7-objects/37-animal-farm.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@ const pig = {
66
type: "pig",
77
age: 63,
88
makeSound() {
9-
console.log(pig.name + " is a " + pig.age + " year old " + pig.type + " that goes oink!")
9+
console.log(pig.name + " is a " + pig.age + " year old " + pig.type + " that goes oink!");
1010
}
11-
}
11+
};
1212

1313
const sheep = {
1414
name: "Mob",
1515
type: "sheep",
1616
age: 42,
1717
makeSound() {
18-
console.log(sheep.name + " is a " + sheep.age + " year old " + sheep.type + " that goes baaaah!")
18+
console.log(sheep.name + " is a " + sheep.age + " year old " + sheep.type + " that goes baaaah!");
1919
}
20-
}
20+
};
2121

2222
const dog = {
2323
name: "Balto",
2424
type: "dog",
2525
age: 12,
2626
makeSound() {
27-
console.log(dog.name + " is a " + dog.age + " year old " + dog.type + " that goes woof!")
27+
console.log(dog.name + " is a " + dog.age + " year old " + dog.type + " that goes woof!");
2828
}
29-
}
29+
};
3030

3131
pig.makeSound();
3232
sheep.makeSound();
33-
dog.makeSound();
33+
dog.makeSound();

0 commit comments

Comments
 (0)