File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,28 +6,28 @@ const pig = {
6
6
type : "pig" ,
7
7
age : 63 ,
8
8
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!" ) ;
10
10
}
11
- }
11
+ } ;
12
12
13
13
const sheep = {
14
14
name : "Mob" ,
15
15
type : "sheep" ,
16
16
age : 42 ,
17
17
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!" ) ;
19
19
}
20
- }
20
+ } ;
21
21
22
22
const dog = {
23
23
name : "Balto" ,
24
24
type : "dog" ,
25
25
age : 12 ,
26
26
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!" ) ;
28
28
}
29
- }
29
+ } ;
30
30
31
31
pig . makeSound ( ) ;
32
32
sheep . makeSound ( ) ;
33
- dog . makeSound ( ) ;
33
+ dog . makeSound ( ) ;
You can’t perform that action at this time.
0 commit comments