Skip to content

Commit 47f8a79

Browse files
authored
link roto
1 parent 5a14959 commit 47f8a79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/08-prototypes/01-prototype-inheritance

1-js/08-prototypes/01-prototype-inheritance/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ for(let prop in rabbit) alert(prop); // jumps, despues eats
287287
*/!*
288288
```
289289

290-
Si no queremos eso, y quisieramos excluir las propiedades heredadas, hay un método incorporado [obj.hasOwnProperty(key)] (mdn:js/Object/hasOwnProperty): devuelve `true` si `obj` tiene la propiedad interna (no heredada) llamada `key`.
290+
Si no queremos eso, y quisiéramos excluir las propiedades heredadas, hay un método incorporado [obj.hasOwnProperty(key)](mdn:js/Object/hasOwnProperty): devuelve `true` si `obj` tiene la propiedad interna (no heredada) llamada `key`.
291291

292292
Entonces podemos filtrar las propiedades heredadas (o hacer algo más con ellas):
293293

0 commit comments

Comments
 (0)