Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

settimeout arrow function javascript

doWork(callback) {
    setTimeout(() => callback(this.name), 15); 
}
 
PREVIOUS NEXT
Tagged: #settimeout #arrow #function #javascript
ADD COMMENT
Topic
Name
3+7 =