234234234

04 2024 档案

摘要:location.search .replace('?', '') .split('&') .reduce((ret, item) => { const [key, value] = `${item}`.split('='); ret[key] = value; return ret; }, {}) 阅读全文
posted @ 2024-04-26 13:14 ukeepgoing 阅读(32) 评论(0) 推荐(0)
摘要:import * as fs from 'fs'; // 读取HTML文件 const t1 = fs.readFileSync('./txt1.txt').toString(); const t2 = fs.readFileSync('./txt2.txt').toString() // cons 阅读全文
posted @ 2024-04-15 11:08 ukeepgoing 阅读(29) 评论(0) 推荐(0)

23423423423