console.log("参数c: ", c); } // 添加新的参数 test.addParameter("d", "Hello", "window"); test("1", "2", "3", "4"); ``` 执行上述代码后,控制台输出如下: ``` 参数a: 1 参数b: 2 参数c: 3 参数d: Hello ``` 【四、总结与建议】 Method AddParameter