From 42823726cc01fcd502bbb6d545a46d863e36b082 Mon Sep 17 00:00:00 2001
From: unknown <1924969174@qq.com>
Date: Thu, 13 Oct 2022 22:40:21 +0800
Subject: [PATCH 1/2] =?UTF-8?q?2022-10-13=E7=AC=AC=E4=B8=80=E6=AC=A1js?=
=?UTF-8?q?=E4=BD=9C=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...\346\254\241\344\275\234\344\270\232.html" | 59 +++++++++++++++++++
...00\346\254\241\347\254\224\350\256\260.md" | 7 +++
2 files changed, 66 insertions(+)
create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232.html"
create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md"
diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232.html" "b/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232.html"
new file mode 100644
index 0000000..e1fe058
--- /dev/null
+++ "b/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232.html"
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+ Document
+
+
+
+
+
\ No newline at end of file
diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md" "b/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md"
new file mode 100644
index 0000000..575854f
--- /dev/null
+++ "b/16\345\210\230\346\260\270\346\275\230/2022-10-13\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232js\345\237\272\347\241\200/2022-10-13\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md"
@@ -0,0 +1,7 @@
+数据类型:(1)原始型:number,Boolean,string (2)引用型:数组array,对象Object,函数function
+如何弹窗输出:alert(typeof a)
+如何弹窗输入:var name = prompt('请输入一个名字')
+打印在控制台:var a = 5; console.log(a)
+ 三元运算符 (表达式) ? 满足的时候执行 : 不满足的时候执行 var a = 90 var result = (a >= 90) ? '优秀' : '良好'; console.log(result);
+ 条件运算 if(1表达式:结果是布尔类型){ }else if(2表达式:结果是布尔类型){ }else{ } while : 1.起始值 2.满足循环的条件:true:可以执行循环体 false:跳出该循环 3. 循环体 4.迭代因子 var sum = 0 while (start <= 100) { //2.终止条件 // sum = sum + start; // if (start % 2 != 0) { // sum = sum + start; // } //
+ 4.迭代因子 //2.continue:跳出当前循环
\ No newline at end of file
--
Gitee
From fa7e0f7df455ef24d4ed7f3854bcb1591d599e44 Mon Sep 17 00:00:00 2001
From: unknown <1924969174@qq.com>
Date: Sun, 16 Oct 2022 18:23:15 +0800
Subject: [PATCH 2/2] =?UTF-8?q?2022-10-14=E7=AC=AC=E4=BA=8C=E6=AC=A1?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=BD=AC=E6=8D=A2=E4=BD=9C=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...\346\254\241\344\275\234\344\270\232.html" | 54 +++++++++++++++++++
...14\346\254\241\347\254\224\350\256\260.md" | 21 ++++++++
2 files changed, 75 insertions(+)
create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232.html"
create mode 100644 "16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\347\254\224\350\256\260.md"
diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232.html" "b/16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232.html"
new file mode 100644
index 0000000..d5c6188
--- /dev/null
+++ "b/16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232.html"
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+ Document
+
+
+
+
+
\ No newline at end of file
diff --git "a/16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\347\254\224\350\256\260.md" "b/16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\347\254\224\350\256\260.md"
new file mode 100644
index 0000000..6eaec74
--- /dev/null
+++ "b/16\345\210\230\346\260\270\346\275\230/2022-10-14\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\346\225\260\346\215\256\350\275\254\346\215\242/2022-10-14\347\254\254\344\272\214\346\254\241\347\254\224\350\256\260.md"
@@ -0,0 +1,21 @@
+1.Switch
+2.基本数据类型: number , boolean, string, null , undefined
+ var a = '5'+1 // + 其中有一个是字符串, 默认是字符串的连接
+ var a = '5' //
+ var b = a*2 // + - * 、 %隐式类型转化
+ var b = -a
+ console.log('类型:' + typeof b + '值:' + b);//查看数据是什么类型
+3.显示数据类型
+NaN : 非数 number
+Number():转换成数字,失败会变成 NaN
+false:0 true:1 null:0 undefined:NaN
+
+parseInt(a,radix): 将(radix)进制 转成 10进制
+//var a = 'F' //-->0 1 2 3 4 5 6 7 8 9 A B C D E F
+//var b = parseInt(a,16)
+
+String():转成字符串
+toFixed(n):保留小数点后n位
+a.toString(radix):将十进制数的a转换成radix进制的数
+isNaN(): 是不是非数,是数字的话--》false 不是数字--》true
+Math: 舍入 ceil(向上取整) floor(向下取整) round(四舍五入)
\ No newline at end of file
--
Gitee