Answers for "why we use arrow functions in setTimeout"

0

settimeout arrow function javascript

doWork(callback) {
    setTimeout(() => callback(this.name), 15); 
}
Posted by: Guest on April-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language