Skip to content

Commit 7a704e5

Browse files
committed
semicolons
1 parent 23b5766 commit 7a704e5

File tree

1 file changed

+2
-2
lines changed
  • 1-js/07-object-oriented-programming/03-prototype-inheritance

1 file changed

+2
-2
lines changed

1-js/07-object-oriented-programming/03-prototype-inheritance/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ let rabbit = {
112112
let longEar = {
113113
earLength: 10,
114114
__proto__: rabbit
115-
}
115+
};
116116

117117
// walk is taken from the prototype chain
118118
longEar.walk(); // Animal walk
@@ -146,7 +146,7 @@ let animal = {
146146

147147
let rabbit = {
148148
__proto__: animal
149-
}
149+
};
150150

151151
*!*
152152
rabbit.walk = function() {

0 commit comments

Comments
 (0)