path.parse()方法用於返回其屬性表示給定路徑的對象。此方法返回以下屬性:. root(根名); dir(目錄名); base(帶擴展名的文件名); ext(僅擴展名); name(僅文件名).
確定! 回上一頁