Grappus interview question

What are Debouncing and throttling in javascript?