diff --git a/docs/reflect.md b/docs/reflect.md index 3490201..7d1d211 100644 --- a/docs/reflect.md +++ b/docs/reflect.md @@ -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)