上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>数组与栈</title> </head> <body> <script> arr2=[1,2,3]; document.write(arr2); <!--数组本 阅读全文
posted @ 2020-06-19 23:49 Tsui98' 阅读(169) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>this对象</title> </head> <body> <!--1、为什么在函数里面可以直接打印this--> <!--因为浏览器(解析器)在调用函数的时候 阅读全文
posted @ 2020-06-19 23:47 Tsui98' 阅读(99) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>闭包</title> </head> <body> <script> //一、作为缓存.第二次使用对象时候,可以不用新建对象。单例模式的实现等等。 //规则:缓 阅读全文
posted @ 2020-06-19 23:46 Tsui98' 阅读(89) 评论(0) 推荐(0) 编辑
摘要: jquery框架:对javascript进行封装的框架,我们可以很方便的进行dom的操作和ajax的操作vue:做双向数据绑定的,相当于可以取消dom操作,特别适合做交互多的页面 以前没有仔细研究过js文件的具体实现,今天在学习视频的时候,有具体讲到js文件的实现,原理很简单,就是一个超大型的匿名函 阅读全文
posted @ 2020-06-18 23:36 Tsui98' 阅读(139) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script> <!-- 第一种用法,声明一个外部函数 --> var Min_Number=fun 阅读全文
posted @ 2020-06-18 23:29 Tsui98' 阅读(200) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script> <!--比较两个数的最大值和最小值的函数方法--> <!--两种常用的声明函数的方式 阅读全文
posted @ 2020-06-18 23:27 Tsui98' 阅读(98) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script> //基本数据类型是存储在栈空间的,相当于直接存储在物理地址中;而引用数据类型是存储在 阅读全文
posted @ 2020-06-18 23:25 Tsui98' 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>闰年检查器</title> </head> <body> <script> <!-- var coin=true;--> <!-- if(coin){--> < 阅读全文
posted @ 2020-06-18 23:22 Tsui98' 阅读(164) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>各种数据类型</title> </head> <body> <script> <!--String类型--> var str1="自律使人自由"; docume 阅读全文
posted @ 2020-06-18 23:21 Tsui98' 阅读(99) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Js学习笔记</title> <!-- js代码最好写在body底部,加快速度--> <script src="js.js"> alert("引入了外部式js, 阅读全文
posted @ 2020-06-18 23:20 Tsui98' 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页