Question 1: What is the main purpose of debouncing in JavaScript?
Question 2: Throttling in JavaScript ensures a function executes:
Question 3: Debouncing is most useful when:
Question 4: Throttling is typically used in:
Question 5: In debouncing the function:
Question 6: In throttling the function:
Question 7: Which of the following best describes debouncing?
Question 8: Which one is more suitable for rate-limiting API requests?
Question 9: If a user is typing in a search box and you want to wait until they finish before sending a request you should use:
Question 10: Debouncing and throttling help in: