1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

docs(reflect): edit Reflect.apply

This commit is contained in:
ruanyf 2017-03-29 13:41:41 +08:00
parent e3cf5bd225
commit ccefd899e5

View File

@ -341,7 +341,7 @@ const type = Object.prototype.toString.call(youngest);
// 新写法
const youngest = Reflect.apply(Math.min, Math, ages);
const oldest = Reflect.apply(Math.max, Math, ages);
const type = Reflect.apply(Object.prototype.toString, youngest);
const type = Reflect.apply(Object.prototype.toString, youngest, []);
```
### Reflect.defineProperty(target, propertyKey, attributes)