readFileSync ('log.txt','utf-8'); //date為文本內容 console.log('end sync read'); //同步讀取結束. 結果:. 看出是按這個順序執行的:異步讀取 ...
確定! 回上一頁