[JS] easy use of setTimeout & clearTimeout
javascript\nvar cancellable = function(fn, args, t) {    \n    let timerId = setTimeout(fn, t, ...args);\n    let cancelFn = () => clearTimeout(timerId);\n\n   
```javascript\nvar cancellable = function(fn, args, t) {    \n    let timerId = setTimeout(fn, t, ...args);\n    let cancelFn = () => clearTimeout(timerId);\n\n    return cancelFn;\n};\n```
[]