以下代码显示了setTimeout的一个快速示例,它在1000毫秒(一秒)后调用函数。setTimeout(function () { console.log("timeout ... Node.js setTimeout和setInterval ...
確定! 回上一頁