const delay = (fn, wait, ...args) => setTimeout(fn, wait, ...args);