From 51123820fb751c4243a5de5c2ed0d9f3dd2e793d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B1=9F=E8=B4=A4=E6=A6=95?= <1697362358@qq.com>
Date: Mon, 28 Oct 2024 00:40:47 +0800
Subject: [PATCH] 1027
---
.../\344\275\234\344\270\232.md" | 300 ++++++++++++++++++
.../1.html" | 28 ++
.../2.html" | 15 +
.../3.html" | 43 +++
.../\347\256\200\347\255\224\351\242\230.txt" | 13 +
5 files changed, 399 insertions(+)
create mode 100644 "\346\261\237\350\264\244\346\246\225/1js\345\237\272\347\241\200\345\272\224\347\224\250/\344\275\234\344\270\232.md"
create mode 100644 "\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/1.html"
create mode 100644 "\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/2.html"
create mode 100644 "\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/3.html"
create mode 100644 "\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/\347\256\200\347\255\224\351\242\230.txt"
diff --git "a/\346\261\237\350\264\244\346\246\225/1js\345\237\272\347\241\200\345\272\224\347\224\250/\344\275\234\344\270\232.md" "b/\346\261\237\350\264\244\346\246\225/1js\345\237\272\347\241\200\345\272\224\347\224\250/\344\275\234\344\270\232.md"
new file mode 100644
index 0000000..a7e8d44
--- /dev/null
+++ "b/\346\261\237\350\264\244\346\246\225/1js\345\237\272\347\241\200\345\272\224\347\224\250/\344\275\234\344\270\232.md"
@@ -0,0 +1,300 @@
+笔记
+
+介绍:
+JavaScript 是一种高级的、解释型的编程语言,主要用于网页开发,实现网页的动态效果和交互功能。它由 Netscape 公司于1995年首次发布,并且很快成为网页开发的标准脚本语言。JavaScript 是一种基于原型的、多范式的动态脚本语言,支持面向对象、命令式和声明式(如函数式编程)风格。
+
+特点:
+客户端脚本语言:JavaScript 主要运行在浏览器端,可以直接与HTML和CSS交互,实现网页的动态效果。
+
+事件驱动:JavaScript 可以响应用户的操作,如点击、滚动、按键等事件,实现交互式功能。
+
+跨平台:JavaScript 可以在任何支持它的浏览器上运行,几乎覆盖了所有主流操作系统和设备。
+
+对象和原型继承:JavaScript 使用对象和原型链来实现继承,而不是传统的类继承。
+
+异步编程:JavaScript 支持异步编程,如使用回调函数、Promise、async/await 等方式处理异步操作。
+
+概念:
+变量:用于存储数据值。
+函数:执行特定任务的代码块。
+对象:包含属性和方法的数据结构。
+事件:响应用户操作的代码。
+DOM(文档对象模型):表示和交互HTML/XML文档的接口。
+应用场景:
+网页交互:表单验证、动态内容更新、动画效果等。
+
+前端框架:如React、Vue、Angular等,用于构建复杂的单页应用(SPA)。
+
+服务器端编程:Node.js 允许JavaScript在服务器端运行,用于构建网络应用。
+
+移动应用开发:如使用React Native等框架,可以使用JavaScript开发跨平台的移动应用。
+
+二、作业
+基础练习
+02-js书写位置-内部
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+03-js书写位置-外部
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+04-js书写位置-行内
+
+
+
+
+
+
+
+ Document
+
+
+
+
+ 行内方式写js
+
+
+
+05-结束符与注释
+
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
+
+06-输入和输出语法
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+07-变量的使用与更新
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+08-输入用户名案例
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+09-交换2个变量
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+10-变量的命名规范
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+11-输入姓名年龄案例
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+12-let和var的区别
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/1.html" "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/1.html"
new file mode 100644
index 0000000..a68b378
--- /dev/null
+++ "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/1.html"
@@ -0,0 +1,28 @@
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/2.html" "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/2.html"
new file mode 100644
index 0000000..e880f2f
--- /dev/null
+++ "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/2.html"
@@ -0,0 +1,15 @@
+
+
+
+
+
+ Document
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/3.html" "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/3.html"
new file mode 100644
index 0000000..357e27e
--- /dev/null
+++ "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/3.html"
@@ -0,0 +1,43 @@
+
+
+
+
+
+ Document
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/\347\256\200\347\255\224\351\242\230.txt" "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/\347\256\200\347\255\224\351\242\230.txt"
new file mode 100644
index 0000000..5462d3a
--- /dev/null
+++ "b/\346\261\237\350\264\244\346\246\225/2js\345\237\272\347\241\200\344\275\234\344\270\232/\347\256\200\347\255\224\351\242\230.txt"
@@ -0,0 +1,13 @@
+简答题
+1.依次说明下面各打印语句的输出结果?
+
+ const num = 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') number
+console.log( typeof (num + '11')) string
+console.log( typeof (num + +'11')) number
\ No newline at end of file
--
Gitee