摘要:
操作BOM对象 BOM:浏览器对象模型 window浏览器窗口 screen屏幕尺寸:screen.width,screen.height location获取网页信息 document文本内容 history浏览器历史记录:history.back(),history.forward() 操作BO 阅读全文
posted @ 2021-11-05 14:56
旺仔是个好人
阅读(36)
评论(0)
推荐(0)
摘要:
for循环遍历 var arr=[324,23,562]; for (let i = 0; i < arr.length; i++) { console.log(arr[i]); } for(let x in arr){//in只是返回下标 console.log(x); } var map=new 阅读全文
posted @ 2021-11-05 14:07
旺仔是个好人
阅读(40)
评论(0)
推荐(0)
摘要:
引入JavaScript 内部引入 <script> //......</script> 外部引入 <script src="qj.js"></script> console.log(" ")在浏览器控制台输出信息 学会在浏览器调试:设置断点,刷新;查看源码Sources 严格检查模式:"use s 阅读全文
posted @ 2021-11-05 14:00
旺仔是个好人
阅读(53)
评论(0)
推荐(0)