Skip to content

Commit 6568211

Browse files
authoredDec 7, 2020
Make a comment render more nicely
1 parent 0b93f06 commit 6568211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎modules/debounce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function debounce(func, wait, immediate) {
1515
} else {
1616
timeout = null;
1717
if (!immediate) result = func.apply(context, args);
18-
// This check is needed because the func can recursively invoke debounced
18+
// This check is needed because `func` can recursively invoke `debounced`.
1919
if (!timeout) args = context = null;
2020
}
2121
};

0 commit comments

Comments
 (0)
Please sign in to comment.