From c2e9f96204a1a7caae7259bf3c032b25e353bae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=88=E6=9D=B0?= <19892226650@139.com> Date: Tue, 25 Oct 2022 15:49:43 +0000 Subject: [PATCH 1/4] =?UTF-8?q?38=E5=BC=A0=E5=85=88=E6=9D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张先杰 <19892226650@139.com> --- ...\346\254\241\344\275\234\344\270\232.html" | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 "38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.html" diff --git "a/38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.html" "b/38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.html" new file mode 100644 index 0000000..aae4374 --- /dev/null +++ "b/38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.html" @@ -0,0 +1,61 @@ + + + + + + + Document + + + + + + \ No newline at end of file -- Gitee From 7825b6dd3484bdcd8dad5fa26ac75ed3951b71e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=88=E6=9D=B0?= <19892226650@139.com> Date: Tue, 25 Oct 2022 15:50:04 +0000 Subject: [PATCH 2/4] =?UTF-8?q?38=E5=BC=A0=E5=85=88=E6=9D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张先杰 <19892226650@139.com> --- ...55\346\254\241\344\275\234\344\270\232.md" | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 "38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.md" diff --git "a/38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.md" "b/38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.md" new file mode 100644 index 0000000..3b6b9dc --- /dev/null +++ "b/38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-24js\347\254\254\345\205\255\346\254\241\344\275\234\344\270\232.md" @@ -0,0 +1,43 @@ +| 6、对象 | | | +| ------- | ------------------------------------------------------------ | ---------------------------------------------------------- | +| | [2](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_2) | | +| | [3](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_3) | ## 6.1 定义对象 | +| | [4](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_4) | | +| | [5](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_5) | 字面量 | +| | [6](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_6) | | +| | [7](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_7) | var obj = { | +| | [8](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_8) | name:value; | +| | [9](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_9) | 'String':value; | +| | [10](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_10) | } | +| | [11](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_11) | | +| | [12](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_12) | 构造函数 | +| | [13](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_13) | | +| | [14](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_14) | function GetName() { | +| | [15](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_15) | this.name = values; | +| | [16](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_16) | this.age = values; | +| | [17](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_17) | } | +| | [18](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_18) | | +| | [19](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_19) | 工厂模式(设计模式) | +| | [20](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_20) | | +| | [21](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_21) | function GetValues(name,age) { | +| | [22](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_22) | var that = { } | +| | [23](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_23) | that.name = name | +| | [24](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_24) | that.age = age | +| | [25](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_25) | return that | +| | [26](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_26) | } | +| | [27](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_27) | | +| | [28](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_28) | 生成对象 | +| | [29](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_29) | | +| | [30](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_30) | var obj = new obj(); | +| | [31](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_31) | | +| | [32](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_32) | ## 6.2 增删查 | +| | [33](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_33) | | +| | [34](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_34) | 查:obj.name | +| | [35](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_35) | | +| | [36](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_36) | 增:obj.原来obj中没有的属性,相当于将该属性添加到对象obj中 | +| | [37](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_37) | | +| | [38](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_38) | 删:delete 一般删之前要对该属性进行判断 | +| | [39](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_39) | | +| | [40](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_40) | ## 6.3 对象解构 | +| | [41](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_41) | | +| | [42](https://gitee.com/level-21-software-class-4/java-script/pulls/124/files#e7b817a3809f75036f44b7bee8d0e90848b09a21_0_42) | let{name:personName, age:personAge} = obj(取别名) | \ No newline at end of file -- Gitee From 114e5f418df5f87d34279184e28d7a78a2fddccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=88=E6=9D=B0?= <19892226650@139.com> Date: Thu, 27 Oct 2022 05:05:36 +0000 Subject: [PATCH 3/4] =?UTF-8?q?38=E5=BC=A0=E5=85=88=E6=9D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张先杰 <19892226650@139.com> --- ...\346\254\241\344\275\234\344\270\232.html" | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 "38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-26js\347\254\254\344\270\203\346\254\241\344\275\234\344\270\232.html" diff --git "a/38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-26js\347\254\254\344\270\203\346\254\241\344\275\234\344\270\232.html" "b/38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-26js\347\254\254\344\270\203\346\254\241\344\275\234\344\270\232.html" new file mode 100644 index 0000000..7f31638 --- /dev/null +++ "b/38\345\274\240\345\205\210\346\235\260/\344\275\234\344\270\232/2022-10-26js\347\254\254\344\270\203\346\254\241\344\275\234\344\270\232.html" @@ -0,0 +1,67 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From b7cf7f71302ddc034b8a0cbe3b145815b7390a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=88=E6=9D=B0?= <19892226650@139.com> Date: Thu, 27 Oct 2022 05:07:39 +0000 Subject: [PATCH 4/4] =?UTF-8?q?38=E5=BC=A0=E5=85=88=E6=9D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张先杰 <19892226650@139.com> --- ...02\344\270\223\344\270\232\350\257\276.md" | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 "38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-26js\347\254\254\344\270\203\350\212\202\344\270\223\344\270\232\350\257\276.md" diff --git "a/38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-26js\347\254\254\344\270\203\350\212\202\344\270\223\344\270\232\350\257\276.md" "b/38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-26js\347\254\254\344\270\203\350\212\202\344\270\223\344\270\232\350\257\276.md" new file mode 100644 index 0000000..113e3de --- /dev/null +++ "b/38\345\274\240\345\205\210\346\235\260/\347\254\224\350\256\260/2022-10-26js\347\254\254\344\270\203\350\212\202\344\270\223\344\270\232\350\257\276.md" @@ -0,0 +1,31 @@ +| 字面量 | | | +| ------ | ------------------------------------------------------------ | ------------------------------ | +| | [6](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_6) | | +| | [7](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_7) | var obj = { | +| | [8](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_8) | name:value; | +| | [9](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_9) | 'String':value; | +| | [10](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_10) | } | +| | [11](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_11) | | +| | [12](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_12) | 构造函数 | +| | [13](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_13) | | +| | [14](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_14) | function GetName() { | +| | [15](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_15) | this.name = values; | +| | [16](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_16) | this.age = values; | +| | [17](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_17) | } | +| | [18](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_18) | | +| | [19](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_19) | 工厂模式(设计模式) | +| | [20](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_20) | | +| | [21](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_21) | function GetValues(name,age) { | +| | [22](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_22) | var that = { } | +| | [23](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_23) | that.name = name | +| | [24](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_24) | that.age = age | +| | [25](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_25) | return that | +| | [26](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_26) | } | +| | [27](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_27) | | +| | [28](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_28) | 生成对象 | +| | [29](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_29) | | +| | [30](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_30) | var obj = new obj(); | +| | [31](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_31) | | +| | [32](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_32) | ## 6.2 增删查 | +| | [33](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_33) | | +| | [34](https://gitee.com/level-21-software-class-4/java-script/pulls/155/files#4c54f97bde7b1ddd7cfb3625805a0ec31119e57b_0_34) | 查:obj.name | \ No newline at end of file -- Gitee