You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into (as the programming gods would have it, a couple hours chasing red herrings until I finally found this issue). You can reproduce this on NPM RunKit:
Summary
👋 Hi there! I've noticed that calling a debounced function from itself sets its arguments to
undefined
.Minimal working example
Actual output
Expected output
Workaround
As a temporary workaround, I can defer the call:
Cause
https://github.com/component/debounce/blob/master/index.js#L27-L28
The text was updated successfully, but these errors were encountered: