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