1 2 3 4
摘要: https://www.jianshu.com/p/3f0b7ea9df53 阅读全文
posted @ 2019-12-04 23:07 红鲤鱼与LV 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 1.文档:http://nodejs.cn/api/path.html 2.path.normalize() 规范化给定的 path,解析 '..' 和 '.' 片段。 当路径不规范时,用来返回一个规范化的路径值。 此时,打印如下: 3.path.join([...paths] 进行路径拼接,不规范 阅读全文
posted @ 2019-12-04 22:31 红鲤鱼与LV 阅读(255) 评论(0) 推荐(0) 编辑