Skip to content

Commit 0d78202

Browse files
committed
Correction in the text [pt-BR] forinloop.md
If the Famework extends the Object.prototype then need to filter before passing through an object, it means if not to use hasOwnProperty will be unprotected against errors. No?
1 parent e3bd644 commit 0d78202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/ptbr/object/forinloop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Esta é única forma correta de usar. Devido ao uso de `hasOwnProperty`, o exemp
3131

3232
Um framework largamente utilizado que estende o `Object.prototype` é [Prototype][1].
3333
Quando este framework é utilizado, laços `for in` que não utilizam
34-
`hasOwnProperty` ficam protegidos contra erros.
34+
`hasOwnProperty` ficam desprotegidos contra erros.
3535

3636
### Conclusão
3737

0 commit comments

Comments
 (0)