From 40f719896533a726979e47928326c9db13bc48c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E9=B9=8A=E6=9D=83?= <1773509020@qq.com> Date: Sun, 27 Oct 2024 16:36:38 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E8=8B=8F=E9=B9=8A?= =?UTF-8?q?=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\350\213\217\351\271\212\346\235\203/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\350\213\217\351\271\212\346\235\203/.keep" diff --git "a/\350\213\217\351\271\212\346\235\203/.keep" "b/\350\213\217\351\271\212\346\235\203/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 6d14e73665c1b222fb42f5522f574121e96d74cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E9=B9=8A=E6=9D=83?= <1773509020@qq.com> Date: Sun, 27 Oct 2024 16:36:56 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E8=8B=8F=E9=B9=8A=E6=9D=83/.keep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\350\213\217\351\271\212\346\235\203/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 "\350\213\217\351\271\212\346\235\203/.keep" diff --git "a/\350\213\217\351\271\212\346\235\203/.keep" "b/\350\213\217\351\271\212\346\235\203/.keep" deleted file mode 100644 index e69de29..0000000 -- Gitee From ca29c8809a7c06602e8c70a46928ec122352f59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E9=B9=8A=E6=9D=83?= <1773509020@qq.com> Date: Sun, 27 Oct 2024 16:38:02 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E8=8B=8F=E9=B9=8A?= =?UTF-8?q?=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\350\213\217\351\271\212\346\235\203/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\350\213\217\351\271\212\346\235\203/.keep" diff --git "a/\350\213\217\351\271\212\346\235\203/.keep" "b/\350\213\217\351\271\212\346\235\203/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From ca5d80f666303831a2458128511b2612cc5bd15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E9=B9=8A=E6=9D=83?= <1773509020@qq.com> Date: Sun, 27 Oct 2024 16:38:30 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 苏鹊权 <1773509020@qq.com> --- .../20241024 \345\210\235\345\247\213js.md" | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 "\350\213\217\351\271\212\346\235\203/20241024 \345\210\235\345\247\213js.md" diff --git "a/\350\213\217\351\271\212\346\235\203/20241024 \345\210\235\345\247\213js.md" "b/\350\213\217\351\271\212\346\235\203/20241024 \345\210\235\345\247\213js.md" new file mode 100644 index 0000000..6af409e --- /dev/null +++ "b/\350\213\217\351\271\212\346\235\203/20241024 \345\210\235\345\247\213js.md" @@ -0,0 +1,161 @@ +1.依次说明下面各打印语句的输出结果? + +``` + const num = 10 10 + console.log( num + 11) 21 + console.log( num + '11') 1011 + console.log( num + +'11') 21 +``` + +2.依次说明下面各打印语句的输出结果 + +``` +const num = 10 +console.log( typeof num + '11') number11 +console.log( typeof (num + '11')) string +console.log( typeof (num + +'11')) number +``` + +## 编程题 + +### 获取用户信息 + +- 题目描述 依次询问并获取用户的姓名、年龄、性别,收集数据之后在控制台依次打印出来。 具体表现如下图: + +- 题目提示 + - 通过prompt来弹出提示框,收集用户信息 + - 通过变量保存数据 + +``` + +
+ + +