https://blog.csdn.net/houyanhua1/article/details/79448716
//path模块
var path=require('path'); /*nodejs自带的模块*/
var extname=path.extname("123.html"); //获取文件的后缀名
console.log(extname);
https://blog.csdn.net/houyanhua1/article/details/79448716
//path模块
var path=require('path'); /*nodejs自带的模块*/
var extname=path.extname("123.html"); //获取文件的后缀名
console.log(extname);