listFiles
列出目錄中的所有檔案。
listFiles(path: string): string[]
path
string
// 這將列出 "directory/" 目錄中的所有檔案,並返回一個包含檔案名稱的陣列 FilesJS.listFiles('directory/');