Merge pull request #320 from ataotao/patch-2

此处参数有误
This commit is contained in:
Ruan YiFeng
2017-01-13 08:58:23 -06:00
committed by GitHub
+1 -1
View File
@@ -240,7 +240,7 @@ function Greeting(name) {
const instance = new Greeting('张三');
// Reflect.construct 的写法
const instance = Reflect.construct(Greeting, '张三');
const instance = Reflect.construct(Greeting, ['张三']);
```
### Reflect.getPrototypeOf(obj)