From 1340f8f9d3c9ed4bcbe6c210f98adfcb95aeb897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=AB=8B=E6=99=BA?= Date: Mon, 17 Oct 2022 05:14:15 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=2015=E9=99=88=E7=AB=8B?= =?UTF-8?q?=E6=99=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "15\351\231\210\347\253\213\346\231\272/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "15\351\231\210\347\253\213\346\231\272/.keep" diff --git "a/15\351\231\210\347\253\213\346\231\272/.keep" "b/15\351\231\210\347\253\213\346\231\272/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 40fe23f71bb1025a9ea76f93ad4bfae4a1ad7bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=AB=8B=E6=99=BA?= Date: Mon, 17 Oct 2022 05:14:41 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/.keep" diff --git "a/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/.keep" "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From fbe15720bbccbb2a559acbb0ccb949657269fab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=AB=8B=E6=99=BA?= Date: Mon, 17 Oct 2022 05:14:53 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E6=AC=A1=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "15\351\231\210\347\253\213\346\231\272/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232/.keep" diff --git "a/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232/.keep" "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 58e85d3e1da03e52ad6c0a991ebc07ee5d8bd8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=AB=8B=E6=99=BA?= Date: Mon, 17 Oct 2022 05:15:32 +0000 Subject: [PATCH 4/5] =?UTF-8?q?=E9=99=88=E7=AB=8B=E6=99=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈立智 --- .../zuoye.html" | 61 +++++++++++++++++++ ...34\344\270\232\347\254\224\350\256\260.md" | 12 ++++ 2 files changed, 73 insertions(+) create mode 100644 "15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/zuoye.html" create mode 100644 "15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" diff --git "a/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/zuoye.html" "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/zuoye.html" new file mode 100644 index 0000000..7d4b600 --- /dev/null +++ "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/zuoye.html" @@ -0,0 +1,61 @@ + + + + + + + Document + + + + + + \ No newline at end of file diff --git "a/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" new file mode 100644 index 0000000..95cf21d --- /dev/null +++ "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/\347\254\254\344\270\200\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" @@ -0,0 +1,12 @@ +1.导入js文件运行 相对路径:同一个文件夹 绝对路径:从绝对路径 2.直接嵌套进去 + + + + \ No newline at end of file diff --git "a/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" new file mode 100644 index 0000000..b0e9cae --- /dev/null +++ "b/15\351\231\210\347\253\213\346\231\272/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232/\347\254\254\344\272\214\346\254\241\344\275\234\344\270\232\347\254\224\350\256\260.md" @@ -0,0 +1,9 @@ +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