Throttle
methodsLimits the number of calls to a function to one for a specified amount of time.
Parameters:fnFunction
timeoutNumber
Returns:Function
The function to be throttled.
The amount of time that needs to pass before a subsequent function call is made.
the throttled function