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
阅读全文
摘要:let str = "my string"; 1. str.startsWith('my'); //true2.str.endsWith('my'); //false3.str.includes('str'); //true4.str.repeat(3); //'my string my strin
阅读全文
摘要:1.)在移动端布局时,需要一个全屏的高度,可以设置为:100vh 2.)iphone6(375 x 667)来设计,基准值为100。 document.documentElement.style.fontSize = document.documentElement.clientWidth / 3.
阅读全文
摘要:1. 回掉2. promise3. Generator4. Async/await
阅读全文
摘要:WebSocket https://www.cnblogs.com/jingmoxukong/p/7755643.html
阅读全文