Answers for "convert arrow function timeout to normal"

0

settimeout function es6

if (timerid) {
  clearTimeout(timerid);
}

timerid = setTimeout(() => {
  this.reqMaq(obj['fkmaqid'])
}, 2000);
Posted by: Guest on June-22-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language