Update article.md
object constructor -> the object's constructor
This commit is contained in:
parent
aa0c451dd5
commit
4d1a006591
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ alert(filteredArr); // 10, 50
|
|||
alert(filteredArr.isEmpty()); // false
|
||||
```
|
||||
|
||||
Please note a very interesting thing. Built-in methods like `filter`, `map` and others -- return new objects of exactly the inherited type `PowerArray`. Their internal implementation uses object `constructor` property for that.
|
||||
Please note a very interesting thing. Built-in methods like `filter`, `map` and others -- return new objects of exactly the inherited type `PowerArray`. Their internal implementation uses the object's `constructor` property for that.
|
||||
|
||||
In the example above,
|
||||
```js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue