03 2021 档案

摘要:// // 0-n之间的随机数 // function rand(n) { // return parseInt(Math.random() * n); // } // // 2 求数组中所有元素的和(addAllInArray) // // 思考: 需要参数和返回值 // function add 阅读全文
posted @ 2021-03-30 20:39 干饭吧 阅读(158) 评论(0) 推荐(0) 编辑
摘要:// // 0-n之间的随机数 // function rand(n) { // return parseInt(Math.random() * n); // } // // 2 求数组中所有元素的和(addAllInArray) // // 思考: 需要参数和返回值 // function add 阅读全文
posted @ 2021-03-30 20:12 干饭吧 阅读(217) 评论(0) 推荐(0) 编辑
摘要:<script> // 生成四位随机数 function generateMixed(n) { var chars = [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D 阅读全文
posted @ 2021-03-30 13:03 干饭吧 阅读(120) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2021-03-29 23:04 干饭吧 阅读(53) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2021-03-29 12:49 干饭吧 阅读(93) 评论(0) 推荐(0) 编辑
摘要:<script> //封装一个添加数组对象的功能函数,arr表示数组,number表示要往里面添加的数据可以是数字也可以是字符串 function push(arr,number){ var arr=[1,2,3]; arr[arr.length]=number; return arr; } con 阅读全文
posted @ 2021-03-28 20:19 干饭吧 阅读(130) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-03-28 19:59 干饭吧 阅读(39) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2021-03-28 19:57 干饭吧 阅读(232) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2021-03-28 19:55 干饭吧 阅读(115) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-03-27 00:27 干饭吧 阅读(1376) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2021-03-26 23:21 干饭吧 阅读(217) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示