Zscaler Interview Question

JavaScript & React JS Question, followed by Debouncing and Throttling coding question