摘要: 先注明一下题目来源,剑哥的前端面试每日3+1 大家如果有兴趣可以去github上答题 1 用递归算法实现,数组长度为5且元素的随机数在2-32间不重复的值 <script> let arr = [] function addItem() { let item = Math.floor(Math.ra 阅读全文
posted @ 2020-04-02 17:21 jsThin 阅读(373) 评论(0) 推荐(0)
摘要: 先注明一下题目来源,剑哥的前端面试每日3+1 大家如果有兴趣可以去github上答题 1、 页面导入样式,使用link与@import有什么区别? a、从属关系:link是html标签,@import是css提供的 b、加载差异:页面加载时,link会同事加载;而@import引入的css会在页面加 阅读全文
posted @ 2020-04-02 17:20 jsThin 阅读(4156) 评论(0) 推荐(1)