chore(i18n,curriculum): update translations (#42147)

This commit is contained in:
camperbot
2021-05-15 21:31:37 +05:30
committed by GitHub
parent cbb7afd5b8
commit 0596e2749a
6 changed files with 82 additions and 80 deletions

View File

@ -58,10 +58,10 @@ assert(typeof Animal.prototype.bark == 'undefined');
assert(typeof Dog.prototype.eat == 'function');
```
`Dog` debe tener el método `bark()` como una propiedad propia `own`.
El prototipo `Dog` debe tener un método `bark()`.
```js
assert(Dog.prototype.hasOwnProperty('bark'));
assert('bark' in Dog.prototype);
```
`beagle` debe ser una instancia de (`instanceof`) `Animal`.