Skip to content

Commit

Permalink
Make a comment render more nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed Dec 7, 2020
1 parent 0b93f06 commit 6568211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/debounce.js
Expand Up @@ -15,7 +15,7 @@ export default function debounce(func, wait, immediate) {
} else {
timeout = null;
if (!immediate) result = func.apply(context, args);
// This check is needed because the func can recursively invoke debounced
// This check is needed because `func` can recursively invoke `debounced`.
if (!timeout) args = context = null;
}
};
Expand Down

0 comments on commit 6568211

Please sign in to comment.