Apex
Results
1
issues of
Apex
 测试将`immediate置为false`,后面的函数变量没有被保存 测试用例: ```js function testFn(name){ console.log(`hello ${name}`); } var d = debounce(testFn,0,false); d('xiaomin'); d('xiaohua'); -----> hello xiaomin // 置为false,应该输出 hello xiaohua ``` 稍加修改 ```js return function(...params) { // 否则缓存参数和调用上下文...