Lenskart Solutions Interview Question

Implement working debouncing in JavaScript