Microsoft interview question

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