From 9ec4dbc4e829a983c42e3dfa45af15a32145471b Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 26 May 2015 22:57:09 -0500 Subject: [PATCH] Add some clarifications. --- javascript/throttling-a-function-call.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/javascript/throttling-a-function-call.md b/javascript/throttling-a-function-call.md index 12dfc89..df84a96 100644 --- a/javascript/throttling-a-function-call.md +++ b/javascript/throttling-a-function-call.md @@ -12,8 +12,9 @@ You can roll your own approach to sufficiently intermittent server calls. Though, it turns out that [underscore.js](http://underscorejs.org/) comes with two functions out of the box for this kind of behavior. -- [`throttle`](http://underscorejs.org/#throttle) will give you function - that wraps your function in a way that essentially rate-limits it. +- [`throttle`](http://underscorejs.org/#throttle) will give you a function + that wraps your function in a way that essentially rate-limits it to being + called at most once every `N` milliseconds. - [`debounce`](http://underscorejs.org/#debounce), on the other hand, will give you a function that only calls your function once `N` milliseconds