loops/reduce/方法链 处理数组对比
摘要:
loops 循环 const files = ['foo.txt ', '.bar', ' ', 'baz.foo'] let filePaths = [] for (let file of files) { const fileName = file.trim() if (fileName) { 阅读全文
posted @ 2022-09-07 08:47 小馬過河﹎ 阅读(22) 评论(0) 推荐(0)