set_timeout_promise_helper.js 89 Bytes EditWeb IDE 1 2 3 export default (time = 0) => new Promise((resolve) => { setTimeout(resolve, time); });