摘要: // 求最大值 <script> var arr = [10,35,765,21345,678,89]; var max = arr [0]; for (var i=0;i< arr.length;i++) { if (max<arr[i]){ max = arr [i]; } } console. 阅读全文
posted @ 2019-12-28 08:57 风致﹏ 阅读(4759) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } #box{ height: 100px; width: 10 阅读全文
posted @ 2019-12-19 20:24 风致﹏ 阅读(269) 评论(0) 推荐(0) 编辑