settimeout arrow javascript code example Example: settimeout arrow function javascript doWork(callback) { setTimeout(() => callback(this.name), 15); }