Skip to content

Commit 8842a59

Browse files
Update 1-js/08-prototypes/03-native-prototypes/article.md
Co-authored-by: Osvaldo Dias dos Santos <[email protected]>
1 parent fa8bf24 commit 8842a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 1-js/08-prototypes/03-native-prototypes/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Por exemplo:
139139

140140
```js run
141141
if (!String.prototype.repeat) { // Se não existe esse método
142-
// adiciona no protótipo
142+
// adiciona ao protótipo
143143

144144
String.prototype.repeat = function(n) {
145145
// repete a string n vezes

0 commit comments

Comments
 (0)