Implement a debounce function from scratch · InterviewLane