js(javascript)和jq(jquery)常见问题(持续更新)
从浏览器多进程到JS单线程,JS运行机制最全面的一次梳理:
https://segmentfault.com/a/1190000012925872
JS offset、client、scroll家族:
https://juejin.im/post/6869735468771721223
DOMContentLoaded 事件:
https://developer.mozilla.org/zh-CN/docs/Web/Events/DOMContentLoaded深入理解DOM事件类型系列第三篇——变动事件:
https://www.cnblogs.com/yhl-0822/articles/7818930.htmlHTML5 API --- 页面可见性改变(visibilitychange)事件
https://blog.csdn.net/yl02520/article/details/17174107DOMNodeInserted监听div内容改变:
https://www.cnblogs.com/lst619247/p/8873219.html【js】event(事件对象)详解:
https://www.cnblogs.com/websmile/p/8807334.htmljs冒泡 :
https://www.cnblogs.com/1500418882qqcom/p/10511761.htmlJavaScript 异步与事件循环 :
https://juejin.im/post/6844903711106400264Js中for循环的阻塞机制
https://www.shangmayuan.com/a/1efb2daf1372460bb1321171.html
document.documentElement 的含意:
https://developer.mozilla.org/zh-CN/docs/Web/API/Document/documentElementSet 和 Map 数据结构 :
https://es6.ruanyifeng.com/#docs/set-mapHistory API
https://developer.mozilla.org/zh-CN/docs/Web/API/History_API#%E5%9C%A8history%E4%B8%AD%E8%B7%B3%E8%BD%AC一张图看懂encodeURI、encodeURIComponent、decodeURI、decodeURIComponent的区别 :
https://www.cnblogs.com/shuiyi/p/5277233.html回流重绘 :
https://www.javazhiyin.com/11622.htmlHTTP请求过程-域名解析和TCP三次握手建立链接 :
https://www.cnblogs.com/caijh/p/7698819.html
JS中的数据类型和变量内存 ;
https://www.cnblogs.com/iamswf/p/4736760.htmlJavaScript中内存使用规则--堆和栈 :
https://juejin.im/post/6844903736972673032前端内存探索
https://juejin.cn/post/6896281950709874701#heading-0
js中typeof判断数据类型:
https://www.cnblogs.com/csdwly/p/11733446.htmlJS中如何快速将字符串的“true"和"false"转换成Bool类型:
https://blog.csdn.net/soulwyb/article/details/103855785js中==和===区别:
https://www.cnblogs.com/nelson-hu/p/7922731.htmlJavaScript--检测数据类型-- typeof 和 instanceof :
https://www.cnblogs.com/kevinZ0520/p/5139738.htmljs中!和!!的区别及用法:
https://www.cnblogs.com/tison/p/8111712.html
js去掉字符串的空格回车换行:
https://blog.csdn.net/xiejunna/article/details/77879324js 判断字符串中是否包含某个字符串:
https://www.cnblogs.com/ooo0/p/7741651.htmlJS向上取整、向下取整、四舍五入等:
https://www.jianshu.com/p/a93bd02d9eb7正则表达式匹配:包含且不包含:
https://blog.csdn.net/thewindkee/article/details/52785763js如何识别出字符串中的回车 \n并输出换行 :
https://blog.csdn.net/lianzhang861/article/details/80581042?utm_source=blogxgwz2js 时分秒转化为秒:
https://www.cnblogs.com/Ananiah/p/10775229.htmlJavaScript 获取当前时间戳 时间戳和日期格式的转换 :
https://blog.csdn.net/weixin_42333548/article/details/80539239Math.round():
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/roundjs短路赋值法 :
https://blog.csdn.net/wewon_real/article/details/78963545JS短路表达式 && 和 || :
https://blog.csdn.net/qq_41893551/article/details/81041743js判断是否为整数类型(5种方式) :
https://blog.csdn.net/vasilis_1/article/details/78613086js保留两位小数方法总结 :
https://www.jb51.net/article/134067.htm
arguments[0]()的详解:
https://www.cnblogs.com/jokes/p/9424913.htmlapply,call和bind的使用及区别:
https://www.cnblogs.com/fiona-zhong/p/11369534.htmlIIFE(立即执行函数)那些事儿 :
https://github.com/FrankKai/FrankKai.github.io/issues/69js中函数参数值传递和引用传递 :
https://www.cnblogs.com/refe/p/5101744.htmljs清除未知定时器的方法:
https://blog.csdn.net/canpark/article/details/8969183如何获取input自定义属性(data)
https://www.cnblogs.com/peng14/p/3338600.htmlJS中decodeURI()与decodeURIComponent()区别 :
https://www.cnblogs.com/Erik_Xu/articles/2305011.htmlJS 实现 unicode 中文互转 :
https://blog.csdn.net/u011704894/article/details/51706916
JS 详解 Cookie、 LocalStorage 与 SessionStorage :
https://www.cnblogs.com/minigrasshopper/p/8064367.htmllocalStorage设置过期时间 :
https://www.cnblogs.com/ricolee/p/localstorage-expiretime.htmlsessionStorage 的数据会在同一网站的多个标签页之间共享吗?这取决于标签页如何打开 :
https://www.cnblogs.com/as007012/p/9860605.htmlJS判断浏览器是否禁用COOKIE
http://www.song-z.com/article/detail/341/842location.href的用法 :
https://www.cnblogs.com/shuilangyizu/p/6604646.htmlJS设置弹出小窗口(去掉工具栏和其他功能的简洁弹窗)
https://www.cnblogs.com/xiaolinxi/p/5430949.htmljs返回上一页并刷新代码整理 :
https://www.cnblogs.com/xiaoleiel/p/8308579.html关于H5的pushState、replaceState:
https://www.jianshu.com/p/ddb7fcdf5962使用JavaScript清除所有cookie:
http://codingdict.com/questions/8848
ES6 class与ES5 function区别及联系 :
https://blog.csdn.net/u012657197/article/details/77542404Promise:
https://www.liaoxuefeng.com/wiki/1022910821149312/1023024413276544es6 es7 javascript对象Object.values() , Object.entries() :
https://blog.csdn.net/iceking66/article/details/82776497ES6模块import细节
https://www.cnblogs.com/zhansu/p/6256423.html让你彻底掌握es6 Promise的八段代码 :
https://www.jb51.net/article/119630.htm你可能不知道的 JS 特性:可选链 :
https://segmentfault.com/a/1190000021230477可选链操作符( ?.
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/%E5%8F%AF%E9%80%89%E9%93%BEObject.getPrototypeOf():
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/GetPrototypeOfrequire和import的区别
https://www.cnblogs.com/ranyonsue/p/10861276.html
实现异步循环:
https://www.jstips.co/zh_cn/javascript/implementing-asynchronous-loops/js事件触发器 dispatchEvent()
https://blog.csdn.net/weixin_33722405/article/details/85892944Event emitter的监听事件
https://www.php.cn/xiaochengxu-391850.htmljs全屏模式轻松掌握[局部元素全屏展示] :
https://segmentfault.com/a/1190000017229077js 如何监听vedio全屏事件呢?
https://segmentfault.com/q/1010000013557181/a-1020000013557512event.stopPropagation()和event.preventDefault() :
https://blog.csdn.net/qq_39207948/article/details/79408323js监听页面copy事件添加版权信息
https://www.cnblogs.com/fanwenhao/p/9685293.htmljs禁止页面滚动
https://www.cnblogs.com/wxcbg/p/10452985.html
JS错误捕获
https://zhuanlan.zhihu.com/p/123286696dom元素上添加断点(使用dom breakpoint找到修改属性的javascript代码)
https://www.cnblogs.com/fangsmile/p/11943414.html关于 JavaScript 错误处理的最完整指南:
https://segmentfault.com/a/1190000023798437console.log()、console.info()、console.debug()的区别 :
https://blog.csdn.net/xishaoguo/article/details/80688179
socket.io
https://www.jianshu.com/p/d5616dc471b9
http://www.shuaihuajun.com/article/1504749640971/HTML5本地存储IndexedDB
https://www.jianshu.com/p/15a02e54160d
$(document).on():
https://blog.csdn.net/qq_37694421/article/details/79638603jQuery 遍历 - eq() 方法
https://www.w3school.com.cn/jquery/traversing_eq.aspjq 的 on 方法用于动态事件的绑定
https://www.cnblogs.com/rocky-fang/articles/5619234.htmlJQuery的extend扩展方法:
https://www.cnblogs.com/wanlibingfeng/p/6367756.htmlJS/JQuery获取当前元素的上一个/下一个兄弟级元素等元素的方法 :
https://www.cnblogs.com/randomlee/p/10308966.htmljQuery中$.proxy()的原理和使用 :
https://www.cnblogs.com/huntaheart/p/3854073.html
js中的值类型、引用类型、堆、栈、函数参数传递方式、连续赋值等概念的学习 :
https://segmentfault.com/a/1190000016322927js面试题:实现对象深度克隆(deepClone)的三种方案 :
https://www.cnblogs.com/ginowang42/archive/2013/04/11/3014419.html【JS】深拷贝与浅拷贝的区别,实现深拷贝的几种方法 :
https://www.cnblogs.com/echolun/p/7889848.html浅谈深拷贝和浅拷贝(js) :
https://blog.csdn.net/qq_41635167/article/details/82943223
JavaScript Array includes() 方法:
https://www.runoob.com/jsref/jsref-includes.html解锁各种js数组骚操作:
https://juejin.im/post/6854818587820736526JS中find(), findIndex(), filter(), forEach(), some(), every(), map()方法:
https://www.cnblogs.com/wfc139/p/10383509.html如何正确的在 Array.map 使用 async:
https://www.cnblogs.com/luckrain7/p/12750424.htmlJS中every()和some()的用法
https://blog.csdn.net/zhangjing0320/article/details/80677129Array.prototype.slice.call()方法详解:
https://www.jianshu.com/p/c5df0156b229Javascript多维数组扁平化 :
https://www.jstips.co/zh_cn/javascript/flattening-multidimensional-arrays-in-javascript/清空数组的两种方法 :
https://www.jstips.co/zh_cn/javascript/two-ways-to-empty-an-array/js中reduce用法详解 :
https://www.cnblogs.com/smallpen/p/10249288.htmlJS截取数组:使用splice()和slice()方法 :
http://c.biancheng.net/view/5668.html