摘要: 或者 阅读全文
posted @ 2019-04-24 23:58 anobscureretreat 阅读(432) 评论(0) 推荐(0)
摘要: if(pro==0){ if(fla==0){ console.log("%0 pass") }else{ $('#h_progress_bar .ui-progress').animateProgress(0,v,function() { fla=0; }); } }else if(pro==1){ ... 阅读全文
posted @ 2019-04-24 23:47 anobscureretreat 阅读(409) 评论(0) 推荐(0)
摘要: //for 循环 //forEach //for in 循环对象 //在ES6中,增加了一个for of循环 //Map,Set,for of //原生javascript遍历 //forEach() 方法对数组的每个元素执行一次提供的函数。总是返回undefined;//map() 方法创建一个新 阅读全文
posted @ 2019-04-24 23:46 anobscureretreat 阅读(213) 评论(0) 推荐(0)
摘要: 例子 例子 阅读全文
posted @ 2019-04-24 23:41 anobscureretreat 阅读(133) 评论(0) 推荐(0)
摘要: window.a=12; 阅读全文
posted @ 2019-04-24 23:39 anobscureretreat 阅读(108) 评论(0) 推荐(0)
摘要: //延时器,2秒后执行函数 阅读全文
posted @ 2019-04-24 23:38 anobscureretreat 阅读(5254) 评论(0) 推荐(0)
摘要: //定时器间隔0.5s,启动定时器后,等待3s 输出 阅读全文
posted @ 2019-04-24 23:36 anobscureretreat 阅读(209) 评论(0) 推荐(0)
摘要: 输出 输出 阅读全文
posted @ 2019-04-24 23:31 anobscureretreat 阅读(10495) 评论(0) 推荐(0)