path模塊,nodejs用來處理路徑的模塊。
const path = require('path')
path.join([...paths])
參數(shù) ...paths :代表任意多個(gè)路徑片段
返回值為string類型,例子: