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