摘要: function timeCount() { var tar = new Date('2018/7/22 18:30:00').getTime(); var now = new Date().getTime(); var time = tar - now; if(time <= 0){ clearI 阅读全文
posted @ 2018-09-02 16:14 —只小白 阅读(136) 评论(0) 推荐(0) 编辑
摘要: function getStr2() { var str1 = ''; var str = 'qwertyuiopasdfghjklzxcvbnm0123456789QWERTYUIOPASDFGHJKLZXCVBNM'; var ary = [];//存放每一次生成的随机数 while(ary.l 阅读全文
posted @ 2018-09-02 16:07 —只小白 阅读(350) 评论(0) 推荐(0) 编辑
摘要: function getStr() { var str1 = ''; var str = 'qwertyuiopasdfghjklzxcvbnm0123456789QWERTYUIOPASDFGHJKLZXCVBNM'; for(var i = 0; i < 4;i++){ var n = Math 阅读全文
posted @ 2018-09-02 16:06 —只小白 阅读(546) 评论(0) 推荐(0) 编辑