code: function invokeFunc(time) {
      let args = lastArgs;
  
      let thisArg = lastThis;
      lastArgs = lastThis = undefined;
      lastInvokeTime = time;
      result = func.apply(thisArg, args);
      return result;
    }
docs: 执行要被触发的函数