from the lodash documentation:
Throttle
Creates a throttled function that only invokes func at most once per every wait milliseconds
Debounce
Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked
I am a little bit confused about these two definitions, it sounds that they are similar.
Can someone give us a simple explanation with examples.