The current way is to use fs.stat or fs.statSync. These throw an error if there's no file, so we need to use a try ... catch block.
確定! 回上一頁