摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-07-03 14:26 石海莹 阅读(209) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-07-03 14:25 石海莹 阅读(173) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-07-03 14:24 石海莹 阅读(185) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-07-03 14:23 石海莹 阅读(155) 评论(0) 推荐(0)
摘要: ## 创建数组 1.字面量创建 var arr = [1,2,3,4] 2.构造函数创建 var arr1 = new Array(1,2,3,4) 注:数组中的数据类型可以是六大类型中的任意一种 ## 数组方法 1. length 长度 可以使用for循环 2.数组添加删除【首尾】 pop与pus 阅读全文
posted @ 2020-07-03 14:22 石海莹 阅读(178) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 14:14 石海莹 阅读(176) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-07-03 14:12 石海莹 阅读(146) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 14:10 石海莹 阅读(447) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 14:09 石海莹 阅读(195) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 14:07 石海莹 阅读(189) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 14:02 石海莹 阅读(208) 评论(0) 推荐(0)
摘要: ## 对象 时间对象 字符串对象 ## 对象 抽象化 window对象 Math数学对象 对象:万物皆对象 字面量 var str = ''; 构造函数式 var str1 = String('dddd') 凡是出现了new关键字,类型就是特殊的对象类型 ## 时间对象 获取现在时间 new Dat 阅读全文
posted @ 2020-07-03 13:58 石海莹 阅读(175) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 13:50 石海莹 阅读(274) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 13:47 石海莹 阅读(244) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 13:45 石海莹 阅读(151) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 13:43 石海莹 阅读(169) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 13:38 石海莹 阅读(175) 评论(0) 推荐(0)
摘要: 间歇定时器示例 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>D 阅读全文
posted @ 2020-07-03 13:34 石海莹 阅读(227) 评论(0) 推荐(0)
摘要: ## 定时器 数学方法 ## 定时器 1.延时定时器 setTimeout 只执行一次 使用场景:页面小广告 格式: 1s = 1000ms setTimeout(function(){ 执行代码块 },时间/ms) 清延时定时器:clearTimeout(延时定时器名字) 2.间歇定时器 setI 阅读全文
posted @ 2020-07-03 13:31 石海莹 阅读(173) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2020-07-03 13:27 石海莹 阅读(221) 评论(0) 推荐(0)