module.exports可以單獨的定義,返回數據類型,而export只能是返回壹個object對象。如
module.exports=['勞黑炭','百度經驗','module.exports'];//正確
exports=['勞黑炭','百度經驗','module.exports'];//報錯