From 943780d07630d2154e47907750c2f79c2c9e1f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Tue, 25 Oct 2022 15:41:58 +0000 Subject: [PATCH 1/4] =?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-25 \344\275\234\344\270\232.html" | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-25 \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-25 \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-25 \344\275\234\344\270\232.html" new file mode 100644 index 0000000..333956b --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-25 \344\275\234\344\270\232.html" @@ -0,0 +1,64 @@ + + + + + + + + Document + + + + + + + \ No newline at end of file -- Gitee From 31d5bdc3bac56ed8911ede46f61084b2031e01eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=90=AF=E6=81=92?= <3013545725@qq.com> Date: Tue, 25 Oct 2022 15:42:16 +0000 Subject: [PATCH 2/4] =?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 \347\254\224\350\256\260.md" | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-24 \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-24 \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-24 \347\254\224\350\256\260.md" new file mode 100644 index 0000000..6d56466 --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-24 \347\254\224\350\256\260.md" @@ -0,0 +1,17 @@ +对象创建 + +1.字面量 + +行为(方法)一般是拿来修改对象的属性值 + +2.构造函数方式 + +this{} :new + +this赋值 (自己操作) + +工厂模式 (设计模式) + +原型模式 混合模式 + +keys:返回的是键的数组 \ No newline at end of file -- Gitee From 73b310e985ea2a6924f6589418fd201b420450be 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, 27 Oct 2022 03:35:29 +0000 Subject: [PATCH 3/4] =?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-27 \344\275\234\344\270\232.html" | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 "44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-27 \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-27 \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-27 \344\275\234\344\270\232.html" new file mode 100644 index 0000000..78a3fe9 --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\344\275\234\344\270\232/2022-10-27 \344\275\234\344\270\232.html" @@ -0,0 +1,63 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From da2f6300f77df25e324158dfd172b76e55f2b3a6 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, 27 Oct 2022 03:35:38 +0000 Subject: [PATCH 4/4] =?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-26 \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-26 \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-26 \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-26 \347\254\224\350\256\260.md" new file mode 100644 index 0000000..5aaab21 --- /dev/null +++ "b/44 \347\275\227\345\220\257\346\201\222/\347\254\224\350\256\260/2022-10-26 \347\254\224\350\256\260.md" @@ -0,0 +1,26 @@ +包装类 + +for ... of :遍历 + +将键值对成对变成数组放入外层数组(二维数组) + +obj本身是不可迭代的对象 + +assign:浅拷贝 + +assign:拷贝,浅拷贝(复制的是对象的地址),(手写一个对象的深拷贝)深拷贝(复制的的对象本身) + +assign:1.浅拷贝一个对象 2.合并对象(target,sources....) + +原始数据类型: number, boolean, string, null, undefined (symbol,bigint) + +会自动变成原始数据类型number + +包装类只有:number,boolean,string, + +null,undefined是没有包装类的 + +null undefined 没有包装 + +包装类:自动转成对象 + -- Gitee