mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Update Object.getPrototypeOf()
This commit is contained in:
parent
1ace603b87
commit
6a6afa6349
@ -88,7 +88,7 @@ function (obj, proto) {
|
|||||||
|
|
||||||
**(3)Object.getPrototypeOf()**
|
**(3)Object.getPrototypeOf()**
|
||||||
|
|
||||||
与setPrototypeOf()配套的,还有getPrototypeOf(),用于读取一个对象的prototype对象。
|
该方法与setPrototypeOf()配套,用于读取一个对象的prototype对象。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user