个人信息师傅账号CSDN账号第0篇GITHUB账号掘金账号第0篇简书账号第0篇有道云笔记账号网易云邮箱小程序账号公众号账号QQ邮箱账号网易云课堂B站面试总结未来本地存储有哪些解决方案笔试题?varUser={count:1,getCount:function(){returnthis.count}}console.log(User.getCount())//1varfun=User.getCountconsole.log(func())//什么是undefined闭包,它有什么特点,对页面有什么影响?IE和标准兼容性。setTimeout(function(){console.log(1)})newPromise(function(resolve,reject){console.log(2)resolve(3)}).then((val){console.log(val)})//输出顺寻231什么是对象什么是深拷贝什么是浅拷贝?你做了哪些性能优化?说说tcp的三次握手原理。tcp属于哪一层?Promise的三个缺点functionFoo(){getName=function(){console.log(1)}returnthis}Foo.getName=function(){console.log(2)}Foo.prototype.getName=function(){console.log(3)}vargetName=function(){console.log(4)}functiongetName(){console.log(5)}//请写出如下输出Foo.getName()getName()Foo().getName()getName()newFoo.getName()newFoo().getName()newnewFoo().getName()变换动画,使用left,top改变优缺点Es6Map和nativeobjects有什么区别//将一个数组arr按照指定的数组大小拆分成若干个数组块document.write(chunk([1,2,3,4,48,666],2))//输出[1,2],[3,4],[48,666]的结果//chunk()方法函数getArr(arr,size){//arr[1,2,3,4,48,666]//size2//slice//varflag=arr.slice(0,size)varnewArr=[]for(vari=0;i
