FullStory Interview Question

Create a rate limiting function

Interview Answer

Anonymous

Mar 10, 2020

Used a count variable to decrement everytime the function in question was called. Used setInterval to increment the count value.