Microsoft Interview Question

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