setTimeout() accepts time in milliseconds, so setTimeout(fn, 1000) tells JavaScript to call fn after 1 second. function delay(time) { return new ...
確定! 回上一頁