docs: function throttle(func, wait, options) {
        var leading = true, trailing = true;
        if (!isFun(func)) throwErr('fun');
        if (isObj(options)) {
          leading = has(options, 'leading') ? !!options.leading : leading;
          trailing = has(options, 'trailing') ? !!options.trailing : trailing;
        }
        return debounce(func, wait, {
          'leading': leading,
          'maxWait': wait,
          'trailing': trailing
        });
      }