From c872576c8df9dc7fba5762ec0f8d594a266be62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E6=BD=98?= <1924969174@qq.com> Date: Tue, 25 Oct 2022 10:08:01 +0000 Subject: [PATCH 1/8] =?UTF-8?q?=E6=96=B0=E5=BB=BA=202022-10-13=E7=AC=AC?= =?UTF-8?q?=E5=9B=9B=E6=AC=A1=E4=BD=9C=E4=B8=9A=E6=95=B8=E7=B5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" "b/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 2f053849c9cee2ba0a26f9c21644e5b4d303c156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E6=BD=98?= <1924969174@qq.com> Date: Tue, 25 Oct 2022 10:08:17 +0000 Subject: [PATCH 2/8] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2016=E5=88=98?= =?UTF-8?q?=E6=B0=B8=E6=BD=98/2022-10-13=E7=AC=AC=E5=9B=9B=E6=AC=A1?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=95=B8=E7=B5=84=20=E4=B8=BA=2016=E5=88=98?= =?UTF-8?q?=E6=B0=B8=E6=BD=98/2022-10-20=E7=AC=AC=E5=9B=9B=E6=AC=A1?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=95=B8=E7=B5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" => "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" (100%) diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" "b/16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" similarity index 100% rename from "16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" rename to "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" -- Gitee From 7beaf5150e6306e0d1958a469783d09251f17441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E6=BD=98?= <1924969174@qq.com> Date: Tue, 25 Oct 2022 10:08:46 +0000 Subject: [PATCH 3/8] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2016=E5=88=98?= =?UTF-8?q?=E6=B0=B8=E6=BD=98/2022-10-20=E7=AC=AC=E5=9B=9B=E6=AC=A1?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=95=B8=E7=B5=84=20=E4=B8=BA=2016=E5=88=98?= =?UTF-8?q?=E6=B0=B8=E6=BD=98/2022-10-20=E7=AC=AC=E5=9B=9B=E6=AC=A1?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=95=B0=E7=B5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" => "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/.keep" (100%) diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" "b/16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/.keep" similarity index 100% rename from "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\270\347\265\204/.keep" rename to "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/.keep" -- Gitee From 2f8582937c4bf17f5e2cd26c3b7495bae1fcce78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E6=BD=98?= <1924969174@qq.com> Date: Tue, 25 Oct 2022 10:09:10 +0000 Subject: [PATCH 4/8] =?UTF-8?q?16=E5=88=98=E6=B0=B8=E6=BD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永潘 <1924969174@qq.com> --- ...24\350\256\260\346\225\260\347\273\204.md" | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/2022-10-20\347\254\254\345\233\233\346\254\241\347\254\224\350\256\260\346\225\260\347\273\204.md" diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/2022-10-20\347\254\254\345\233\233\346\254\241\347\254\224\350\256\260\346\225\260\347\273\204.md" "b/16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/2022-10-20\347\254\254\345\233\233\346\254\241\347\254\224\350\256\260\346\225\260\347\273\204.md" new file mode 100644 index 0000000..3df2c03 --- /dev/null +++ "b/16\345\210\230\346\260\270\346\275\230/2022-10-20\347\254\254\345\233\233\346\254\241\344\275\234\344\270\232\346\225\260\347\265\204/2022-10-20\347\254\254\345\233\233\346\254\241\347\254\224\350\256\260\346\225\260\347\273\204.md" @@ -0,0 +1,82 @@ +数组: + concat:连接,数组合并 + 例子: + const arr = [1,2,3] + const arr1 = [4,5,6] + console.log(arr1); + join:将数组转成字符串] + forEach(遍历数组) + 例子: + arr.forEach( + + function (element){ + console.log(element); + } + ) + 映射方法map() + 例: + const arr=[1, 2, 3, 4, 5, 6] + const arr1 = arr.map( + function (element) { + return element + 1 + } + ) + + 将数组的单词全转为大写 + 例: + const countries = ['Finland', 'Sweden', 'Norway', 'Denmark', 'Iceland'] + const new_countries = countries.map( + function (e){ + return e.toUpperCase() + } + ) + filter过滤:返回数组中符合条件的数据 + 例: + const new_arr = arr.filter( + function (e){ + return e%2==0 //true:返回 false:不符合条件=>过滤 + } + ) + + reduce(),reduceRight():归纳汇总: 返回一个总数据 + 例: + const arr = [1, 2, 3, 4, 5, 6] + var sum = arr.reduceRight( + function (v1,v2){ + return v1*v2 + } + ) + + every():只要有一个false,返回 + 例: + some() + var isMatch = arr.every( + function (e){ + return e>1 + } + ) + + var isMatch = arr.some( + function (e){ + return e==6 + } + ) + + 二维数组 + const arrayOfArray = [[1, 2, 3], [4, 5, 6]] + 增删改查 + console.log(arrayOfArray[1][1]); + + 删 + arrayOfArray[1].splice(1,1) + console.log(arrayOfArray); +函数 + 带参(形参) + undefined:变量声明了但没有赋值 + null:变量声明,并且有个空引用 + ...args:剩余运算符,将剩下的参数都放进args数组中 + function fn(A,B,...args){ + rguments:伪数组 + for (let index = 0; index < arguments.length; index++) { + console.log(arguments[index]); + } \ No newline at end of file -- Gitee From 715cd4ed2da7da359e5bcdbf3e4fb38f2aa11deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E6=BD=98?= <1924969174@qq.com> Date: Tue, 25 Oct 2022 10:09:31 +0000 Subject: [PATCH 5/8] =?UTF-8?q?=E6=96=B0=E5=BB=BA=202022-10-21=E7=AC=AC?= =?UTF-8?q?=E4=BA=94=E6=AC=A1=E4=BD=9C=E4=B8=9A=E7=AE=AD=E5=A4=B4=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/.keep" diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/.keep" "b/16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From c61df072844290fb4030685fcbd1387d168ca655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E6=BD=98?= <1924969174@qq.com> Date: Tue, 25 Oct 2022 10:09:49 +0000 Subject: [PATCH 6/8] =?UTF-8?q?16=E5=88=98=E6=B0=B8=E6=BD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永潘 <1924969174@qq.com> --- ...\345\244\264\345\207\275\346\225\260.html" | 72 +++++++++++++++++++ ...55\345\244\264\345\207\275\346\225\260.md" | 59 +++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260.html" create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260.md" diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260.html" "b/16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260.html" new file mode 100644 index 0000000..7fab855 --- /dev/null +++ "b/16\345\210\230\346\260\270\346\275\230/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260/2022-10-21\347\254\254\344\272\224\346\254\241\344\275\234\344\270\232\347\256\255\345\244\264\345\207\275\346\225\260.html" @@ -0,0 +1,72 @@ + + +
+ + + +