(...args)
| 37 | } |
| 38 | } |
| 39 | function debouncedFunction(...args) { |
| 40 | startTime = performance.now() + time; |
| 41 | callback = () => { |
| 42 | callback = null; |
| 43 | func.apply(this, args); |
| 44 | }; |
| 45 | checkTimer(); |
| 46 | } |
| 47 | return debouncedFunction; |
| 48 | } |
| 49 |
nothing calls this directly
no test coverage detected