摘要: 使用流程控制语句写 ATM let username = "z", password = "1", account = 10000, isLogin = false;while (!isLogin) { let usernameInput = window.prompt("请输入用户名:"); le 阅读全文
posted @ 2017-04-20 23:40 南方&姑娘 阅读(103) 评论(0) 推荐(0)
摘要: 1.创建一个数组名字叫mathArray里面放入0-200所有能被5整除的数.var mathArray = [];for (var a = 0; a <= 200; a++) { if (a % 5 0) { mathArray.push(a); }}console.log(mathArray.j 阅读全文
posted @ 2017-04-20 00:36 南方&姑娘 阅读(216) 评论(0) 推荐(0)