From 23a0c46f380d0ab5326ed1ad9b8dec2eeaf74252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Thu, 20 Oct 2022 03:30:34 +0000 Subject: [PATCH 1/6] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2044=20?= =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92/=E7=AC=94=E8=AE=B0/2022-10-17=20?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A.md=20=E4=B8=BA=2044=20=E7=BD=97=E5=90=AF?= =?UTF-8?q?=E6=81=92/=E7=AC=94=E8=AE=B0/2022-10-17=20=E7=AC=94=E8=AE=B0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2022-10-17 \347\254\224\350\256\260.md" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-17 \344\275\234\344\270\232.md" => "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-17 \347\254\224\350\256\260.md" (100%) diff --git "a/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-17 \344\275\234\344\270\232.md" "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-17 \347\254\224\350\256\260.md" similarity index 100% rename from "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-17 \344\275\234\344\270\232.md" rename to "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-17 \347\254\224\350\256\260.md" -- Gitee From c6a9dc166984f7574bd4f4af0bf2c7eab6c107ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Mon, 24 Oct 2022 03:32:09 +0000 Subject: [PATCH 2/6] =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 罗启恒 <3013545725@qq.com> --- .../2022-10-20 \347\254\224\350\256\260.md" | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-20 \347\254\224\350\256\260.md" diff --git "a/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-20 \347\254\224\350\256\260.md" "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-20 \347\254\224\350\256\260.md" new file mode 100644 index 0000000..d70e888 --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-20 \347\254\224\350\256\260.md" @@ -0,0 +1,26 @@ +带参(形参) + undefined:变量声明了但没有赋值 + null:变量声明,并且有个空引用 + + ...args:剩余运算符,将剩下的参数都放进args数组中 + function fn(A,B,...args){ + arguments:伪数组 + for (let index = 0; index < arguments.length; index++) { + console.log(arguments[index]); + } + +concat:连接,数组合并 + +join:将数组转成字符串 + +将字符串转成数组 string.split('') + +forEach(遍历数组) + +映射方法map(), + +filter过滤:返回数组中符合条件的数据 + +reduce(),reduceRight():归纳汇总: 返回一个总数据 + +every():只要有一个false,返回 \ No newline at end of file -- Gitee From 440a84dba070c10881bec839efa2b88f63bbbe21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Mon, 24 Oct 2022 03:32:19 +0000 Subject: [PATCH 3/6] =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 罗启恒 <3013545725@qq.com> --- .../2022-10-21 \347\254\224\350\256\260.md" | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-21 \347\254\224\350\256\260.md" diff --git "a/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-21 \347\254\224\350\256\260.md" "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-21 \347\254\224\350\256\260.md" new file mode 100644 index 0000000..19d94eb --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-21 \347\254\224\350\256\260.md" @@ -0,0 +1,38 @@ +对像 + +对象: 类(人类,鱼类,鸟类) 万物对象:属性和行为 + +属性:增删改查 + 1.查 . 一级属性 二级属性往后[][] + console.log(obj.name) + 查 使用 [] + console.log(obj['name']['lastName']) + + 2.增 obj.原来obj中没有的属性,相当于将该属性添加到对象obj中 + obj.gender = '男' + console.log(obj); + + 3.删 delete 一般删之前要对该属性进行判断 + delete obj.age + console.log(obj); + +构造函数 = new 对像 + + 普通函数命名规则:小驼峰:getName() + 构造函数命名规则:大驼峰:GetName() + +箭头函数 + +匿名函数: function (){} + +arguments:只有长度,只能找下标和元素 + +箭头函数: var aa = (形参列表) => {函数体} arrow function + +函数只有一个return语句时,省略{}和return关键字,直接写返回值 + +当函数只有一个形参时,可以省略圆括号 + +var ee = () => '这是一个箭头函数'; //无参时,圆括号不可以省略 + +无返回值,一般不用箭头函数 \ No newline at end of file -- Gitee From 4b1b79a7a3f91c6a0a25093bf04cf94d6096d73a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Mon, 24 Oct 2022 03:32:45 +0000 Subject: [PATCH 4/6] =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 罗启恒 <3013545725@qq.com> --- .../2022-10-24 \344\275\234\344\270\232.html" | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" diff --git "a/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" new file mode 100644 index 0000000..b96ed38 --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From eda82b5638b878007af1705479f0eb0c2c1313af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Mon, 24 Oct 2022 03:39:02 +0000 Subject: [PATCH 5/6] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2044?= =?UTF-8?q?=20=E7=BD=97=E5=90=AF=E6=81=92/=E4=BD=9C=E4=B8=9A/2022-10-24=20?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2022-10-24 \344\275\234\344\270\232.html" | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 "44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" diff --git "a/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" deleted file mode 100644 index b96ed38..0000000 --- "a/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - Document - - - - - \ No newline at end of file -- Gitee From cb07f2f8e14ec0fcef3c763fdd24dfbc49ccdd5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Mon, 24 Oct 2022 03:42:25 +0000 Subject: [PATCH 6/6] =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 罗启恒 <3013545725@qq.com> --- .../2022-10-24 \344\275\234\344\270\232.html" | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" diff --git "a/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" new file mode 100644 index 0000000..b92d40f --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-24 \344\275\234\344\270\232.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee