Skip to content

Commit df2f013

Browse files
authored
Merge pull request #817 from Evoniuk/patch-2
missing word
2 parents 148b389 + eeca775 commit df2f013

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/05-native-prototypes

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/05-native-prototypes/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ During the process of development we may have ideas which new built-in methods w
123123

124124
Prototypes are global, so it's easy to get a conflict. If two libraries add a method `String.prototype.show`, then one of them overwrites the other one.
125125

126-
In modern programming, there is only one case when modifying native prototypes is approved. That's polyfills. In other words, if there's a method in JavaScript specification that is not yet supported by our JavaScript engine (or any of those that we want to support), then may implement it manually and populate the built-in prototype with it.
126+
In modern programming, there is only one case when modifying native prototypes is approved. That's polyfills. In other words, if there's a method in JavaScript specification that is not yet supported by our JavaScript engine (or any of those that we want to support), then we may implement it manually and populate the built-in prototype with it.
127127

128128
For instance:
129129

0 commit comments

Comments
 (0)