Pregunta de entrevista de Microsoft

What is the debounce technique in JavaScript, and how is it implemented?