会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
最帅爸爸
博客园
首页
新随笔
新文章
联系
订阅
管理
2022年9月25日
prompt
摘要: prompt()方法用于弹出框,并且附带一个文本输入框 alert("请猜测一个1-100之间的数") var a = Math.floor(Math.random() * 100); alert(a); while(1){ var c =(prompt("请输入数字")); if (c == a)
阅读全文
posted @ 2022-09-25 14:56 最帅爸爸
阅读(178)
评论(0)
推荐(0)