Partial of function and date

1. rewrite debounce and throttle is required