Pergunta de entrevista da empresa Grappus

What are Debouncing and throttling in javascript?