From 7dc59beda3b848fc8611d4c2d2a28c885819337e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Fri, 14 Oct 2022 07:49:02 +0000 Subject: [PATCH 01/10] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E9=9F=A6=E4=BB=B2?= =?UTF-8?q?=E6=99=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\351\237\246\344\273\262\346\231\223/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\351\237\246\344\273\262\346\231\223/.keep" diff --git "a/\351\237\246\344\273\262\346\231\223/.keep" "b/\351\237\246\344\273\262\346\231\223/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 969fd325502d9cc52c1c3742a280a23fa2f69f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Fri, 14 Oct 2022 07:49:52 +0000 Subject: [PATCH 02/10] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=20=E9=9F=A6?= =?UTF-8?q?=E4=BB=B2=E6=99=93=20=E4=B8=BA=2034=E9=9F=A6=E4=BB=B2=E6=99=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" => "34\351\237\246\344\273\262\346\231\223/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "\351\237\246\344\273\262\346\231\223/.keep" => "34\351\237\246\344\273\262\346\231\223/.keep" (100%) diff --git "a/\351\237\246\344\273\262\346\231\223/.keep" "b/34\351\237\246\344\273\262\346\231\223/.keep" similarity index 100% rename from "\351\237\246\344\273\262\346\231\223/.keep" rename to "34\351\237\246\344\273\262\346\231\223/.keep" -- Gitee From 34c225d1e456e1a50d2fd82486649fc96a4aa659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Mon, 24 Oct 2022 08:10:11 +0000 Subject: [PATCH 03/10] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\344\275\234\344\270\232/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/.keep" diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/.keep" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 9adfbcb2b1fd4904f85e173557ec1a34ee7ccba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Mon, 24 Oct 2022 08:10:27 +0000 Subject: [PATCH 04/10] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E7=AC=94=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\347\254\224\350\256\260/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/.keep" diff --git "a/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/.keep" "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 85a2fb43ad6fdf3962c3208251d0d282cd7bddef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Tue, 25 Oct 2022 12:29:45 +0000 Subject: [PATCH 05/10] =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦仲晓 <10033715+wzx626@user.noreply.gitee.com> --- .../\344\275\234\344\270\232/2022.10.13.md" | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.13.md" diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.13.md" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.13.md" new file mode 100644 index 0000000..9d39d9f --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.13.md" @@ -0,0 +1,60 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From c349e8e2b53927ee9a035f4b472c74a616d0ca7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Tue, 25 Oct 2022 12:39:11 +0000 Subject: [PATCH 06/10] =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦仲晓 <10033715+wzx626@user.noreply.gitee.com> --- .../\344\275\234\344\270\232/2022.10.14.md" | 79 ++++++++++++++++ .../\344\275\234\344\270\232/2022.10.21.md" | 0 .../\344\275\234\344\270\232/2022.17.md" | 90 +++++++++++++++++++ 3 files changed, 169 insertions(+) create mode 100644 "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.14.md" create mode 100644 "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" create mode 100644 "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.14.md" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.14.md" new file mode 100644 index 0000000..d76793f --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.14.md" @@ -0,0 +1,79 @@ + + + + + + + Document + + + + + \ No newline at end of file diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" new file mode 100644 index 0000000..e69de29 diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" new file mode 100644 index 0000000..93707b1 --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" @@ -0,0 +1,90 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From a1896bd52f0b6de6d2c576041460d5726ad74ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Tue, 25 Oct 2022 12:39:30 +0000 Subject: [PATCH 07/10] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2034=E9=9F=A6?= =?UTF-8?q?=E4=BB=B2=E6=99=93/=E4=BD=9C=E4=B8=9A/2022.17.md=20=E4=B8=BA=20?= =?UTF-8?q?34=E9=9F=A6=E4=BB=B2=E6=99=93/=E4=BD=9C=E4=B8=9A/2022.10.17.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\344\275\234\344\270\232/2022.10.17.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" => "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.17.md" (100%) diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.17.md" similarity index 100% rename from "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.17.md" rename to "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.17.md" -- Gitee From 309d48c3aec4594de04c3106b20f693ebaa97388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Tue, 25 Oct 2022 12:46:29 +0000 Subject: [PATCH 08/10] =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦仲晓 <10033715+wzx626@user.noreply.gitee.com> --- .../10.13\345\237\272\346\223\215.md" | 44 +++++++++++++++++ ...0\346\215\256\347\261\273\345\236\213 .md" | 47 +++++++++++++++++++ ...60\343\200\201\345\257\271\350\261\241.md" | 40 ++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 "34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.13\345\237\272\346\223\215.md" create mode 100644 "34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.14\346\225\260\346\215\256\347\261\273\345\236\213 .md" create mode 100644 "34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/2022.10.21\347\256\255\345\244\264\345\207\275\346\225\260\343\200\201\345\257\271\350\261\241.md" diff --git "a/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.13\345\237\272\346\223\215.md" "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.13\345\237\272\346\223\215.md" new file mode 100644 index 0000000..ce50bb6 --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.13\345\237\272\346\223\215.md" @@ -0,0 +1,44 @@ +数据类型: +原始型: + +number, boolean, string, + +undefined(没有被定义, 声明了该变量 但是没有赋值), + +null (symbol,声明该变量并且赋了一个空值上去) + +**引用型:**数组array 对象Object 函数Function (map set) + +声明变量 + +变量名 = 2; //全局声明 +var 变量名 = 2; //除方法体的全局声明 +let 变量名 = 2; //局部声明 +输出 +//1.打印在控制台 +console.log(typeof a); +//2.打印在网页 +document.write(typeof a); +//3弹窗输出 +alert(typeof a) +//4. 弹窗输入 +var 变量名 = prompt('内容') +switch case +switch (表达式){ + case 值1: + 结果等于值1的输出内容; + case 值2: + 结果等于值2的输出内容; + default: + 结果不等于以上所有值的输出内容; +} +其他 +== 只判断值是否相等,会尝试转换类型 + +=== 判断值与类型是否一致 + +++c 在表达式之前执行自增1 + +c++ 在表达式之后执行自增1 + +三元运算符 表达式 ? 结果1 : 结果2 \ No newline at end of file diff --git "a/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.14\346\225\260\346\215\256\347\261\273\345\236\213 .md" "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.14\346\225\260\346\215\256\347\261\273\345\236\213 .md" new file mode 100644 index 0000000..df15b52 --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/10.14\346\225\260\346\215\256\347\261\273\345\236\213 .md" @@ -0,0 +1,47 @@ +显示数据类型 + +typeof 变量; +数据类型转换 + +//转换为数字,失败会转成NaN(非数) +var a = null; +var b = Number(a); +//转换为字符串 +var c = String(a); +//转成浮点型 +var d = parseFloat(a); +X进制(radix)转换 + +//转换为10进制 +var a = 1010; +var b = parseInt(a,16); +//转换为X进制 +var b = a.toString(radix); +保留小数点后n位 + +toFixed(n); +判断是否是非数 + +//isNaN(),是数字的话--》false 不是数字--》true +console.log(isNaN(a)); +字符串分割 + +var str = `JavaScript`; +const arr = str.split('S') //将字符串以S分割,返回是数组 +//返回结果为'Java','cript' +Math: 舍入 + +//Math.min() 取最小值 +var minnum = Math.min(1,3,5,64,76,47,84,3) +//ceil()向上取整 +var num1 = Math.ceil(53.1); //54 +//floor(向下取整) +var num2 = Math.ceil(53.1); //53 +//round(四舍五入) +var num3 = Math.ceil(53.1); //53 +Radom() 随机数 [0,1) + +//求[0,10)随机数 +Radom()*10 +//求[20,30)随机数,[0,11)+20 --> [20,31) -->[20,30] +console.log(parseInt(Math.random()*11)+20); \ No newline at end of file diff --git "a/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/2022.10.21\347\256\255\345\244\264\345\207\275\346\225\260\343\200\201\345\257\271\350\261\241.md" "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/2022.10.21\347\256\255\345\244\264\345\207\275\346\225\260\343\200\201\345\257\271\350\261\241.md" new file mode 100644 index 0000000..5864316 --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\347\254\224\350\256\260/2022.10.21\347\256\255\345\244\264\345\207\275\346\225\260\343\200\201\345\257\271\350\261\241.md" @@ -0,0 +1,40 @@ +箭头函数&对象 +匿名函数 + function (){ + ...; + return ...; + } +箭头函数 +var aa = (形参列表) => {函数体} +//形参或者函数体只有一个和一句时,可以省略括号 +//无参时,括号不可省略 +//无返回值,一般不用箭头函数 +构造函数 +//普通函数命名规则:小驼峰:getName() +//构造函数命名规则:大驼峰:GetName() +function GetName(){ + this.name = 'FF' + this.age = 18 +}; +创建对象 +//字面量表达式创建对象(字面量:描述自己的量) +var obj = { + name:{ + Name:'Jo', + lastName:'Jo' + }, + age:18 +} +// +var obj = new GetName() +对象--增删改查 +//查 . 一级属性 二级属性往后[][] +console.log(obj.name); +//查 使用 [] +console.log(obj['name']['lastName']); + +//增 obj. --直接赋值 原来obj中没有的属性,相当于将该属性添加到对象obj中 +obj.gender = '男' + +//删 delete 一般删之前要对该属性进行判断 +delete obj.age \ No newline at end of file -- Gitee From 0211b936535c40f996048ae4f93d9b24cded8640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Tue, 25 Oct 2022 12:49:48 +0000 Subject: [PATCH 09/10] =?UTF-8?q?update=2034=E9=9F=A6=E4=BB=B2=E6=99=93/?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A/2022.10.21.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦仲晓 <10033715+wzx626@user.noreply.gitee.com> --- .../\344\275\234\344\270\232/2022.10.21.md" | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" index e69de29..352763a 100644 --- "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" +++ "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.21.md" @@ -0,0 +1,62 @@ + + + + + + + + Document + + + + + + + \ No newline at end of file -- Gitee From 587138080a8697a4fd52c1848e7443ea7df8aca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= <10033715+wzx626@user.noreply.gitee.com> Date: Thu, 27 Oct 2022 04:44:17 +0000 Subject: [PATCH 10/10] =?UTF-8?q?=E9=9F=A6=E4=BB=B2=E6=99=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦仲晓 <10033715+wzx626@user.noreply.gitee.com> --- .../\344\275\234\344\270\232/2022.10.26.html" | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 "34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.26.html" diff --git "a/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.26.html" "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.26.html" new file mode 100644 index 0000000..c8df84e --- /dev/null +++ "b/34\351\237\246\344\273\262\346\231\223/\344\275\234\344\270\232/2022.10.26.html" @@ -0,0 +1,54 @@ + + + + + + + Document + + + + + + + + + + + + + -- Gitee