08 2018 档案

摘要:1. Object.is( ); //用来判断,不同等 == 与 接近。NaN作出的调整 let obj={a:1,b:2}; Object.is(obj,obj);//true Object.is(obj,{obj});//false Object.is({},{});//false Object 阅读全文
posted @ 2018-08-30 10:09 大耳朵小虎 阅读(97) 评论(0) 推荐(0) 编辑
摘要:let str = "my string"; 1. str.startsWith('my'); //true2.str.endsWith('my'); //false3.str.includes('str'); //true4.str.repeat(3); //'my string my strin 阅读全文
posted @ 2018-08-24 11:33 大耳朵小虎 阅读(65) 评论(0) 推荐(0) 编辑
摘要:怎么改变原始丑陋的滚动条呢? 阅读全文
posted @ 2018-08-20 11:32 大耳朵小虎 阅读(129) 评论(0) 推荐(0) 编辑
摘要:1.)在移动端布局时,需要一个全屏的高度,可以设置为:100vh 2.)iphone6(375 x 667)来设计,基准值为100。 document.documentElement.style.fontSize = document.documentElement.clientWidth / 3. 阅读全文
posted @ 2018-08-19 08:09 大耳朵小虎 阅读(116) 评论(0) 推荐(0) 编辑
摘要:1. 回掉2. promise3. Generator4. Async/await 阅读全文
posted @ 2018-08-09 22:09 大耳朵小虎 阅读(69) 评论(0) 推荐(0) 编辑
摘要:WebSocket https://www.cnblogs.com/jingmoxukong/p/7755643.html 阅读全文
posted @ 2018-08-09 16:54 大耳朵小虎 阅读(60) 评论(0) 推荐(0) 编辑

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