LeetCode JS 2676. Throttle [Medium]

Throttle