摘要: null,undefined,if判断都是假;对于数值类型,0是假,其他为真;对于字符类型空字符串是假,其他为真;对于对象的属性,没定义就是假(undefined); 阅读全文
posted @ 2019-11-14 15:21 果果1024 阅读(125) 评论(0) 推荐(0)
摘要: XHR:查看http请求 WS:查看websock请求 https://segmentfault.com/a/1190000012057767?utm_source=tag-newest 阅读全文
posted @ 2019-11-14 15:02 果果1024 阅读(119) 评论(0) 推荐(0)
摘要: 中文文档地址:https://storm4542.github.io/archives/7b89c88d.html qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' })// 'a[0]=b&a[1]=c'qs.stringify({ 阅读全文
posted @ 2019-11-14 14:17 果果1024 阅读(143) 评论(0) 推荐(0)