semicolons
This commit is contained in:
parent
23b5766b82
commit
7a704e50fb
1 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ let rabbit = {
|
|||
let longEar = {
|
||||
earLength: 10,
|
||||
__proto__: rabbit
|
||||
}
|
||||
};
|
||||
|
||||
// walk is taken from the prototype chain
|
||||
longEar.walk(); // Animal walk
|
||||
|
@ -146,7 +146,7 @@ let animal = {
|
|||
|
||||
let rabbit = {
|
||||
__proto__: animal
|
||||
}
|
||||
};
|
||||
|
||||
*!*
|
||||
rabbit.walk = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue