等待加载。。。

随笔分类 -  JavaScript 【基础】

js的学习
摘要:function collect(){ // 内容元素 const content = document.querySelector('.content') // 题目正则 const regexp = /\d+、(【..题】.*?)\n([\s\S]+?)参考答案:([A-Z]+)/ // 选项正 阅读全文
posted @ 2022-05-11 16:16 言小溪enncy 阅读(299) 评论(0) 推荐(0)
摘要:function getCSSPath(node) { let parts = []; while (node.parentElement) { let str = node.tagName.toLowerCase() if (node.id) { str += `#${node.id}`; par 阅读全文
posted @ 2022-04-17 20:19 言小溪enncy 阅读(210) 评论(0) 推荐(0)