赞
踩
- var a=[];
- a[0]=1,a[1]=2,a[2]=3,a[5]=4;
- a.length = ?
- var arr=[1,2,[3,4],[5,[6,7]];
- var flatArr = flat(arr,1);
- console.log(flatArr);
-
- //[1,2,3,4,5,[6,7]]
- setTimeout(function(){
- console.log('1');
- });
-
- new Promise(function(resolve){
- console.log('2');
- resolve();
- }).then(function(){
- console.log('3');
- });
-
- console.log('4');
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。