摘要: 1. 封装一个document.getElementById的方法 方案一: function get(id) { let stack = [document.body]; do{ const current = stack.pop(); // body if(current.getAttribut 阅读全文
posted @ 2021-12-29 22:00 冉姑娘 阅读(62) 评论(0) 推荐(0) 编辑