摘要: 阅读全文
posted @ 2020-07-07 16:43 TTtttt5 阅读(217) 评论(0) 推荐(0) 编辑
摘要: https://developer.mozilla.org/zh-CN/docs/Web/API/Document/readyState 阅读全文
posted @ 2020-06-29 00:06 TTtttt5 阅读(85) 评论(0) 推荐(0) 编辑
摘要: screen:屏幕。这一类bai取到的是关于屏幕的宽度du和距离,与浏览器无关,zhi应该是获取window对象的属性。client:使用区、dao客户区。指的是客户区,当然是指浏览器区域。offset:偏移。指的是目标甲相对目标乙的距离。scroll:卷轴、卷动。指的是包含滚动条的的属性。inne 阅读全文
posted @ 2020-06-29 00:01 TTtttt5 阅读(341) 评论(0) 推荐(0) 编辑
摘要: else if (element.className) {// a b c => .a.b.c return "." + element.className.split(' ').filter(item => !!item).join('.'); 阅读全文
posted @ 2020-06-28 23:51 TTtttt5 阅读(83) 评论(0) 推荐(0) 编辑
摘要: https://developer.mozilla.org/zh-CN/docs/Web/API/Navigator/sendBeacon https://blog.csdn.net/hsl0530hsl/article/details/88579958 阅读全文
posted @ 2020-06-28 21:33 TTtttt5 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ziyunfei/p/5545439.html 阅读全文
posted @ 2020-06-28 20:30 TTtttt5 阅读(121) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/video/BV1V54y1Q7bd?from=search&seid=6961522359668999179 阅读全文
posted @ 2020-06-27 10:23 TTtttt5 阅读(81) 评论(0) 推荐(0) 编辑
摘要: mid=(left+right)>>1的含义 右移运算符>>,运算结果正好能对应一个整数的二分之一值,这就正好能代替数学上的除2运算,但是比除2运算要快。 mid=(left+right)>>1相当于mid=(left+right)/2 阅读全文
posted @ 2020-06-25 23:18 TTtttt5 阅读(808) 评论(0) 推荐(0) 编辑
摘要: http://cppblog.com/menjitianya/archive/2015/10/23/212084.html 阅读全文
posted @ 2020-06-25 19:50 TTtttt5 阅读(76) 评论(0) 推荐(0) 编辑
摘要: https://github.com/sl1673495/leetcode-javascript/issues/15 阅读全文
posted @ 2020-06-25 11:12 TTtttt5 阅读(114) 评论(0) 推荐(0) 编辑