From 8ab04a990913a5065dff6e8988f7633ff1126660 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=97=AD=E4=B8=9C?= <1875779940@qq.com>
Date: Thu, 26 Oct 2023 19:10:20 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=9D=A8=E6=97=AD=E4=B8=9C=E7=9A=84?=
=?UTF-8?q?=E4=BD=9C=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...72\347\241\200\351\203\250\345\210\206.md" | 161 ++++++++++++++++++
1 file changed, 161 insertions(+)
create mode 100644 "55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md"
diff --git "a/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md" "b/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md"
new file mode 100644
index 0000000..5eca7c4
--- /dev/null
+++ "b/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md"
@@ -0,0 +1,161 @@
+# Day01 作业布置
+
+## 一. 完成课堂所有的代码
+
+
+
+```javascript
+
+
+
+
+
+ work
+
+
+百度一下
+mmm3
+
+
+
+
+
+
+const google = document.querySeletor(".google")
+google.onclick = function(){
+ alert("都憋说奥")
+}
+```
+
+
+
+## 二. 简单聊聊JavaScript的历史(自己的话术来总结)
+
+| | | |
+| ---------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| JavaScript作者是Brendan Eich | | |
+| | [40](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_40) | |
+| | [41](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_41) | 刚开始并不是叫这个名字,在Navigator2.0 beta 3版本正式重命名为JavaScript,当时是为了给这门语言搭上Java这个热词;主要就是蹭热度 |
+| | [42](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_42) | |
+| | [43](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_43) | 在Navigator2.0 beta 3版本正式重命名为JavaScript,当时是为了给这门语言搭上Java这个热词; |
+| | [44](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_44) | |
+| | [45](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_45) | 借鉴C语言的基本语法; |
+| | [46](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_46) | |
+| | [47](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_47) | 借鉴Java语言的数据类型和内存管理; |
+| | [48](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_48) | |
+| | [49](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_49) | 借鉴Scheme语言,将函数提升到"第一等公民"(first class)的地位; |
+| | [50](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_50) | |
+| | [51](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_51) | 借鉴Self语言,使用基于原型(prototype)的继承机制。 |
+| | [52](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_52) | |
+| | [53](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_53) | 1996年11月,网景正式向ECMA(欧洲计算机制造商协会)提交语言标准。 |
+| | [54](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_54) | |
+| | [55](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_55) | 1997年6月,ECMA以JavaScript语言为基础制定了ECMAScript标准规范ECMA-262; |
+| | [56](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_56) | |
+| | [57](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_57) | ECMA-262是一份标准,定义了ECMAScript; |
+| | [58](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_58) | |
+| | [59](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_59) | JavaScript成为了ECMAScript最著名的实现之一; |
+| | [60](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_60) | |
+| | [61](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_61) | 除此之外,ActionScript和JScript也都是ECMAScript规范的实现语言; |
+| | [62](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_62) | |
+| | [63](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_63) | 所以说,ECMAScript是一种规范,而JavaScript是这种规范的一种实现。 |
+| | [64](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_64) | |
+
+
+
+## 三. 说说你对JS引擎的理解(自己的话术总结)
+
+
+
+| | | |
+| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| 首先呢我认为JavaScript是一个非常随便的语言,别的语言不敢做的 我js直接乱杀 | | |
+| | [68](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_68) | |
+| | [69](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_69) | 排版引擎(layout engine),也称为浏览器引擎(browser engine)、页面渲染引擎(rendering engine)或样版引擎。 |
+| | [70](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_70) | |
+
+
+
+## 四. JavaScript的交互方式有哪些?(后两种方式)
+
+4 alert ,document.write,console.log() prompt
+
+| alert就是弹出一个窗口,可以理解为一个警告窗口 接受一个参数 | | |
+| ---------------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| | [78](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_78) | |
+| | [79](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_79) | document.write 主要是可以在浏览器中显示 |
+| | [80](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_80) | |
+| | [81](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_81) | console.log 这个与document.write 是要区别开的,主要是在控制台console中可以查看 |
+| | [82](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_82) | |
+| | [83](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_83) | prompt 就是接受一个参数 在浏览器接受用户输入,跟其他语言的输入是一样的效果 |
+
+## 五. 定义一些你日常生活或者在某些程序中见到的变量(10个)(预习)
+
+| | | |
+| ------------------------------------------ | ------------------------------------------------------------ | -------------------------------------------------------- |
+| 我们主要有两个定义变量的方法,一个定义常量 | | |
+| | [88](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_88) | |
+| | [89](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_89) | var 基本是不使用了 |
+| | [90](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_90) | |
+| | [91](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_91) | let较多 变量 |
+| | [92](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_92) | |
+| | [93](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_93) | const 是用来定义常量 之后会经常使用 |
+| | [94](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_94) | |
+| | [95](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_95) | let arr=[10,20,30] |
+| | [96](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_96) | |
+| | [97](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_97) | let age=12 |
+| | [98](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_98) | |
+| | [99](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_99) | const number=11012011911 |
+| | [100](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_100) | |
+| | [101](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_101) | const name=‘小明’ |
+| | [102](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_102) | |
+| | [103](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_103) | 新手才用分号,反正我不用,要么全部使用分号,要么都别使用 |
+| | [104](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_104) | |
+
+
+
+## 六. 说出JavaScript中的常见数据类型以及它们代表的含义(预习)
+
+| 数字类型 | | |
+| -------- | ------------------------------------------------------------ | -------------------------------------------------------- |
+| | [114](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_114) | |
+| | [115](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_115) | 数字,可以是整数,小数,整数,负数 |
+| | [116](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_116) | |
+| | [117](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_117) | js是弱数据类型只有我们赋值后,我们才能确认是什么数据类型 |
+| | [118](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_118) | |
+| | [119](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_119) | Java是强的不一样的哦 |
+| | [120](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_120) | |
+| | [121](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_121) | 字符串类型 |
+| | [122](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_122) | |
+| | [123](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_123) | 通过单或者双引号、反引号包裹,个人建议单引号 |
+| | [124](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_124) | |
+| | [125](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_125) | 引号是可以互相嵌套使用的哦 |
+| | [126](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_126) | |
+| | [127](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_127) | 布尔类型(Boolean) |
+| | [128](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_128) | |
+| | [129](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_129) | 表示肯定或否定 |
+| | [130](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_130) | |
+| | [131](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_131) | TRUE,FALSE |
+| | [132](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_132) | |
+| | [133](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_133) | let =TRUE |
+| | [134](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_134) | |
+| | [135](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_135) | 也可以在逻辑判断中直接生效 |
+| | [136](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_136) | |
+| | [137](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_137) | 还有未定义类型(undefined) |
+| | [138](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_138) | |
+| | [139](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_139) | 未定义的比较特殊的类型 |
+| | [140](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_140) | |
+| | [141](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_141) | 只声明变量没有赋值的话默认值是undefined |
+| | [142](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_142) | |
+| | [143](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_143) | |
+| | [144](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_144) | |
+| | [145](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_145) | 咱们可以通过typeof来检测该变量是什么数据类型的哦 |
+| | [146](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_146) | |
+| | [147](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_147) | let obj=null |
+| | [148](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_148) | |
+| | [149](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_149) | console.log(typefo (obj)) |
+
--
Gitee
From fca35c504bdcd15b7566c93b1de52f983dedccba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=97=AD=E4=B8=9C?= <1875779940@qq.com>
Date: Thu, 26 Oct 2023 19:15:57 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E6=9D=A8=E6=97=AD=E4=B8=9C=E7=9A=84?=
=?UTF-8?q?=E4=BD=9C=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...72\347\241\200\351\203\250\345\210\206.md" | 207 +++++++++---------
1 file changed, 107 insertions(+), 100 deletions(-)
diff --git "a/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md" "b/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md"
index 5eca7c4..54fca11 100644
--- "a/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md"
+++ "b/55 \346\235\250\346\227\255\344\270\234/20231026javascipt \347\232\204\345\237\272\347\241\200\351\203\250\345\210\206.md"
@@ -36,34 +36,35 @@ google.onclick = function(){
## 二. 简单聊聊JavaScript的历史(自己的话术来总结)
-| | | |
-| ---------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| JavaScript作者是Brendan Eich | | |
-| | [40](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_40) | |
-| | [41](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_41) | 刚开始并不是叫这个名字,在Navigator2.0 beta 3版本正式重命名为JavaScript,当时是为了给这门语言搭上Java这个热词;主要就是蹭热度 |
-| | [42](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_42) | |
-| | [43](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_43) | 在Navigator2.0 beta 3版本正式重命名为JavaScript,当时是为了给这门语言搭上Java这个热词; |
-| | [44](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_44) | |
-| | [45](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_45) | 借鉴C语言的基本语法; |
-| | [46](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_46) | |
-| | [47](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_47) | 借鉴Java语言的数据类型和内存管理; |
-| | [48](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_48) | |
-| | [49](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_49) | 借鉴Scheme语言,将函数提升到"第一等公民"(first class)的地位; |
-| | [50](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_50) | |
-| | [51](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_51) | 借鉴Self语言,使用基于原型(prototype)的继承机制。 |
-| | [52](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_52) | |
-| | [53](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_53) | 1996年11月,网景正式向ECMA(欧洲计算机制造商协会)提交语言标准。 |
-| | [54](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_54) | |
-| | [55](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_55) | 1997年6月,ECMA以JavaScript语言为基础制定了ECMAScript标准规范ECMA-262; |
-| | [56](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_56) | |
-| | [57](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_57) | ECMA-262是一份标准,定义了ECMAScript; |
-| | [58](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_58) | |
-| | [59](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_59) | JavaScript成为了ECMAScript最著名的实现之一; |
-| | [60](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_60) | |
-| | [61](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_61) | 除此之外,ActionScript和JScript也都是ECMAScript规范的实现语言; |
-| | [62](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_62) | |
-| | [63](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_63) | 所以说,ECMAScript是一种规范,而JavaScript是这种规范的一种实现。 |
-| | [64](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_64) | |
+```javascript
+JavaScript作者是Brendan Eich
+
+刚开始并不是叫这个名字,在Navigator2.0 beta 3版本正式重命名为JavaScript,当时是为了给这门语言搭上Java这个热词;主要就是蹭热度
+
+在Navigator2.0 beta 3版本正式重命名为JavaScript,当时是为了给这门语言搭上Java这个热词;
+
+借鉴C语言的基本语法;
+
+借鉴Java语言的数据类型和内存管理;
+
+借鉴Scheme语言,将函数提升到"第一等公民"(first class)的地位;
+
+ 借鉴Self语言,使用基于原型(prototype)的继承机制。
+
+1996年11月,网景正式向ECMA(欧洲计算机制造商协会)提交语言标准。
+
+ 1997年6月,ECMA以JavaScript语言为基础制定了ECMAScript标准规范ECMA-262;
+
+ECMA-262是一份标准,定义了ECMAScript;
+
+ JavaScript成为了ECMAScript最著名的实现之一;
+
+ 除此之外,ActionScript和JScript也都是ECMAScript规范的实现语言;
+
+ 所以说,ECMAScript是一种规范,而JavaScript是这种规范的一种实现。
+
+
+```
@@ -71,12 +72,13 @@ google.onclick = function(){
-| | | |
-| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| 首先呢我认为JavaScript是一个非常随便的语言,别的语言不敢做的 我js直接乱杀 | | |
-| | [68](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_68) | |
-| | [69](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_69) | 排版引擎(layout engine),也称为浏览器引擎(browser engine)、页面渲染引擎(rendering engine)或样版引擎。 |
-| | [70](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_70) | |
+```js
+
+
+ 首先呢我认为JavaScript是一个非常随便的语言,别的语言不敢做的 我js直接乱杀
+
+排版引擎(layout engine),也称为浏览器引擎(browser engine)、页面渲染引擎(rendering engine)或样版引擎。
+```
@@ -84,78 +86,83 @@ google.onclick = function(){
4 alert ,document.write,console.log() prompt
-| alert就是弹出一个窗口,可以理解为一个警告窗口 接受一个参数 | | |
-| ---------------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
-| | [78](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_78) | |
-| | [79](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_79) | document.write 主要是可以在浏览器中显示 |
-| | [80](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_80) | |
-| | [81](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_81) | console.log 这个与document.write 是要区别开的,主要是在控制台console中可以查看 |
-| | [82](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_82) | |
-| | [83](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_83) | prompt 就是接受一个参数 在浏览器接受用户输入,跟其他语言的输入是一样的效果 |
+```js
+alert ,document.write,console.log() prompt
+
+alert就是弹出一个窗口,可以理解为一个警告窗口 接受一个参数
+
+document.write 主要是可以在浏览器中显示
+
+console.log 这个与document.write 是要区别开的,主要是在控制台console中可以查看
+
+prompt 就是接受一个参数 在浏览器接受用户输入,跟其他语言的输入是一样的效果
+```
+
+
## 五. 定义一些你日常生活或者在某些程序中见到的变量(10个)(预习)
-| | | |
-| ------------------------------------------ | ------------------------------------------------------------ | -------------------------------------------------------- |
-| 我们主要有两个定义变量的方法,一个定义常量 | | |
-| | [88](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_88) | |
-| | [89](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_89) | var 基本是不使用了 |
-| | [90](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_90) | |
-| | [91](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_91) | let较多 变量 |
-| | [92](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_92) | |
-| | [93](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_93) | const 是用来定义常量 之后会经常使用 |
-| | [94](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_94) | |
-| | [95](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_95) | let arr=[10,20,30] |
-| | [96](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_96) | |
-| | [97](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_97) | let age=12 |
-| | [98](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_98) | |
-| | [99](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_99) | const number=11012011911 |
-| | [100](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_100) | |
-| | [101](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_101) | const name=‘小明’ |
-| | [102](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_102) | |
-| | [103](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_103) | 新手才用分号,反正我不用,要么全部使用分号,要么都别使用 |
-| | [104](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_104) | |
+```js
+我们主要有两个定义变量的方法,一个定义常量
+
+var 基本是不使用了
+
+let较多 变量
+
+const 是用来定义常量 之后会经常使用
+
+let arr=[10,20,30]
+
+let age=12
+
+const number=11012011911
+
+const name=‘小明’
+
+新手才用分号,反正我不用,要么全部使用分号,要么都别使用
+```
## 六. 说出JavaScript中的常见数据类型以及它们代表的含义(预习)
-| 数字类型 | | |
-| -------- | ------------------------------------------------------------ | -------------------------------------------------------- |
-| | [114](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_114) | |
-| | [115](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_115) | 数字,可以是整数,小数,整数,负数 |
-| | [116](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_116) | |
-| | [117](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_117) | js是弱数据类型只有我们赋值后,我们才能确认是什么数据类型 |
-| | [118](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_118) | |
-| | [119](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_119) | Java是强的不一样的哦 |
-| | [120](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_120) | |
-| | [121](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_121) | 字符串类型 |
-| | [122](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_122) | |
-| | [123](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_123) | 通过单或者双引号、反引号包裹,个人建议单引号 |
-| | [124](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_124) | |
-| | [125](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_125) | 引号是可以互相嵌套使用的哦 |
-| | [126](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_126) | |
-| | [127](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_127) | 布尔类型(Boolean) |
-| | [128](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_128) | |
-| | [129](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_129) | 表示肯定或否定 |
-| | [130](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_130) | |
-| | [131](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_131) | TRUE,FALSE |
-| | [132](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_132) | |
-| | [133](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_133) | let =TRUE |
-| | [134](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_134) | |
-| | [135](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_135) | 也可以在逻辑判断中直接生效 |
-| | [136](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_136) | |
-| | [137](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_137) | 还有未定义类型(undefined) |
-| | [138](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_138) | |
-| | [139](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_139) | 未定义的比较特殊的类型 |
-| | [140](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_140) | |
-| | [141](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_141) | 只声明变量没有赋值的话默认值是undefined |
-| | [142](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_142) | |
-| | [143](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_143) | |
-| | [144](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_144) | |
-| | [145](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_145) | 咱们可以通过typeof来检测该变量是什么数据类型的哦 |
-| | [146](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_146) | |
-| | [147](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_147) | let obj=null |
-| | [148](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_148) | |
-| | [149](https://gitee.com/class-04-grade-2022/fundamentals-of-java-script/pulls/3/files#fc58b31db8319d3d0ceaa957e17aa2fea5d9b3b0_0_149) | console.log(typefo (obj)) |
+```js
+数字类型
+
+数字,可以是整数,小数,整数,负数
+
+js是弱数据类型只有我们赋值后,我们才能确认是什么数据类型
+
+Java是强的不一样的哦
+
+字符串类型
+
+通过单或者双引号、反引号包裹,个人建议单引号
+
+引号是可以互相嵌套使用的哦
+
+布尔类型(Boolean)
+
+表示肯定或否定
+
+TRUE,FALSE
+
+let =TRUE
+
+也可以在逻辑判断中直接生效
+
+还有未定义类型(undefined)
+
+未定义的比较特殊的类型
+
+只声明变量没有赋值的话默认值是undefined
+
+
+
+咱们可以通过typeof来检测该变量是什么数据类型的哦
+
+let obj=null
+
+console.log(typefo (obj))
+```
--
Gitee