Skip to content

Commit ad939bb

Browse files
authored
Update article.md
Grammar suggestions
1 parent 33cca1b commit ad939bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/05-extend-natives/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ When `arr.filter()` is called, it internally creates the new array of results us
3232

3333
Even more, we can customize that behavior.
3434

35-
We can add a special static getter `Symbol.species` to the class. If exists, it should return the constructor that JavaScript will use internally to create new entities in `map`, `filter` and so on.
35+
We can add a special static getter `Symbol.species` to the class. If it exists, it should return the constructor that JavaScript will use internally to create new entities in `map`, `filter` and so on.
3636

3737
If we'd like built-in methods like `map` or `filter` to return regular arrays, we can return `Array` in `Symbol.species`, like here:
3838

0 commit comments

Comments
 (0)