2 lines
91 B
JavaScript
2 lines
91 B
JavaScript
const delay = (fn, wait, ...args) => setTimeout(fn, wait, ...args);
|
|
module.exports = delay; |