click on the container to see something
Name is throttled 1sec. The function will execute maximum one time in every second
if you click quickly you will see throttle effect
This mean, if you click 5times in a sec, only the first one will be throttled
Refresh the page and click on debounce and then click inside container
The shadow is debounced 1sec.
The shadow will dispear after 1sec of your last click if you do another click before 1se of last click, debounce will not firedHowever, debounce will fire everytime you passed 1sec after your last click