From 6ffd3703eafd19629e74e906effa0b162cc8b275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=87=E8=BE=89?= <2696103916@qq.com> Date: Fri, 27 Oct 2023 04:24:25 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=BB=BA=2059=E9=99=88=E5=AE=87?= =?UTF-8?q?=E8=BE=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "59\351\231\210\345\256\207\350\276\211/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "59\351\231\210\345\256\207\350\276\211/.keep" diff --git "a/59\351\231\210\345\256\207\350\276\211/.keep" "b/59\351\231\210\345\256\207\350\276\211/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From fd201936742a6f4012558c11f2068b55df524d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=87=E8=BE=89?= <2696103916@qq.com> Date: Sun, 29 Oct 2023 13:41:16 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=E9=99=88=E5=AE=87=E8=BE=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈宇辉 <2696103916@qq.com> --- ...60\346\215\256\347\261\273\345\236\213.md" | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 "59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" diff --git "a/59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" "b/59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" new file mode 100644 index 0000000..b44a99c --- /dev/null +++ "b/59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231027\345\217\230\351\207\217\345\222\214\346\225\260\346\215\256\347\261\273\345\236\213.md" @@ -0,0 +1,72 @@ +**笔记** + +一.Javascript的变量常用的数据类型 + +1.Number 数值 + +2.String 字符串类型 + +3.null 空值 + +4.Undefined 定义了但没值 + +5.Object 用于更复杂的结构 + +6.Boolean + +二,判断一个变量是什么类型:typeof 数据 + +三,infinty 无穷 + +四,变量的使用 + +语法:let 变量名 + + + + + +```javascript + + + + + + Document + + + + + + +``` + -- Gitee From 472aef653e9bbced99424fcb7131eaad0dc03495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AE=87=E8=BE=89?= <2696103916@qq.com> Date: Tue, 31 Oct 2023 03:51:26 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E9=99=88=E5=AE=87=E8=BE=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈宇辉 <2696103916@qq.com> --- ...46\345\222\214\345\210\206\346\224\257.md" | 243 ++++++++++++++++++ 1 file changed, 243 insertions(+) create mode 100644 "59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231031\350\277\220\347\256\227\347\254\246\345\222\214\345\210\206\346\224\257.md" diff --git "a/59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231031\350\277\220\347\256\227\347\254\246\345\222\214\345\210\206\346\224\257.md" "b/59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231031\350\277\220\347\256\227\347\254\246\345\222\214\345\210\206\346\224\257.md" new file mode 100644 index 0000000..4d8573c --- /dev/null +++ "b/59\351\231\210\345\256\207\350\276\211/\351\231\210\345\256\207\350\276\21120231031\350\277\220\347\256\227\347\254\246\345\222\214\345\210\206\346\224\257.md" @@ -0,0 +1,243 @@ + + + + +```javascript +**笔记** + +一,分支语句 + +1,if分支语句 + +if(条件){ + 输出语句 +}else if(条件){ + 输出语句 +}else { + 输出语句 +} + +2,三元运算符 +条件?满足条件执行的代码:不满足执行的代码 + +3,switch分支 +switch(条件){ + case + break +} + + + + + + + + + + + Document + + + + + + + + + +## 简答题:关键字汇总( 能够简单的说出来这些关键字干啥用的 ) + +- let 创建变量 +- typeof 查看数据类型 +- if 判断语句条件 +- else if判断不满足后执行 +- switch 判断条件是否满足哪个值 +- case 满足条件后执行 +- default switch都不满足后执行 +- while 循环 +- break 退出 +- continue 跳过本次循环 +``` + -- Gitee