SurveyMonkey Interview Question

Implement debounce method using ES6+.