1-liner
js\nconst cancellable =\n    (f, a, t, c = setTimeout(f, t, ...a)) => () => clearTimeout(c)\n
```js\nconst cancellable =\n    (f, a, t, c = setTimeout(f, t, ...a)) => () => clearTimeout(c)\n```
['JavaScript']