08 2021 档案

摘要:https://www.cnblogs.com/tuspring/p/9801603.html 阅读全文
posted @ 2021-08-19 11:50 起风了1573 阅读(134) 评论(0) 推荐(0) 编辑
摘要:copyTXT() { const dom = document.getElementById(`codeTxt`); const selection = window.getSelection(); const range = document.createRange(); if (!dom || 阅读全文
posted @ 2021-08-10 18:07 起风了1573 阅读(117) 评论(0) 推荐(0) 编辑
摘要:unique(arr) { const res = new Map(); return arr.filter( (arr) => !res.has(arr.startTimes) && res.set(arr.startTimes, 1) ); }, 阅读全文
posted @ 2021-08-05 21:38 起风了1573 阅读(44) 评论(0) 推荐(0) 编辑
摘要:1、以下程序运行的结果为()?【单选】 var k = 0; for(var i=0,j=0;i<2,j<3;i++,j++){ k += i + j; } console.log(k) A 6 B 2 C 4 D 8 a 2、假设val已经声明,可定义为任何值。则下面js代码有可能输出的结果为?【 阅读全文
posted @ 2021-08-05 15:05 起风了1573 阅读(171) 评论(0) 推荐(0) 编辑
摘要:1、以下哪个表达式的值为true?【不定项选择】 A ‘1’ 1 B isNaN(1/0) C 1 in [1] D 1 && 2 > 1 d 1 && 2 > 1,右边的表达式2>1返回true,1所以 && true返回的也是true。 2、 以下结果里,返回 false 的是?【不定项选择】 阅读全文
posted @ 2021-08-05 14:42 起风了1573 阅读(154) 评论(0) 推荐(0) 编辑
摘要:1、浏览器本地存储 在较高版本的浏览器中,js提供了sessionStorage和globalStorage。在HTML5中提供了localStorage来取代globalStorage。 html5中的Web Storage包括了两种存储方式:sessionStorage和localStorage 阅读全文
posted @ 2021-08-03 17:19 起风了1573 阅读(40) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zhangnan35/p/12682925.html 阅读全文
posted @ 2021-08-02 15:36 起风了1573 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示