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