Pergunta de entrevista da empresa Microsoft

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