Skip to content

Commit e6ad338

Browse files
authored
Update article.md
I think this work better
1 parent 94c83e9 commit e6ad338

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
@@ -34,7 +34,7 @@ Even more, we can customize that behavior.
3434

3535
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.
3636

37-
If we'd like built-in methods like `map`, `filter` will return regular arrays, we can return `Array` in `Symbol.species`, like here:
37+
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

3939
```js run
4040
class PowerArray extends Array {

0 commit comments

Comments
 (0)