Throttle

Create a function that limits how often another function can execute. When called repeatedly, the function should only execute once per specified time interval, ignoring calls made within that interval.

Examples
Input: [["log",100],"call1"]
Output: "function"
Hints

Throttle

Implement a function to control execution by limiting how many times it can execute over a period.