Debounce & Throttle Functions

What mechanism does this throttle implementation use to control execution frequency?
function throttle(func, limit) {
  let inThrottle;
  
  return function(...args) {
    if (!inThrottle) {
      func.apply(this, args);
      inThrottle = true;
      setTimeout(() => inThrottle = false, limit);
    }
  };
}
Next Question (4/20)