employer cover photo
employer logo

Sollicitatievraag bij Datorama

Implement debounce function

Antwoord op sollicitatievraag

Anoniem

19 apr 2020

function debounce (fn, wait) { let t return function () { clearTimeout(t) t = setTimeout[() => fn.apply(this, arguments), wait) } }