kolodny / exercises

Some basic javascript coding challenges and interview questions
4.23k stars 672 forks source link

Updated throttle README and tests to mirror Underscore-spec #3 #9

Closed Ephem closed 9 years ago

Ephem commented 9 years ago

No matter how many calls are made in the threshold-period, only the first AND the last call should run.

Please note that this breaks the current solution.

An alternative to this would be to rename the throttle-challenge to debounce.

Ephem commented 9 years ago

I'll close this since the exercise was renamed to debounce.