04 2021 档案

摘要:function isVisible(el) { const position = el.getBoundingClientRect() const windowHeight = document.documentElement.clientHeight // 顶部边缘可见 const topVis 阅读全文
posted @ 2021-04-25 16:31 心之所指,行之所至 阅读(61) 评论(0) 推荐(0)
摘要:/*** @des 判断数组属性是否相同* @param {Array} a1* @param {Array} a2* @return {Boolean}*/function arrayEqual(a1,a2){ if(a1.length !== a2.length) return false fo 阅读全文
posted @ 2021-04-01 16:42 心之所指,行之所至 阅读(311) 评论(0) 推荐(0)