From 20c19d26b7fc9cb12c05bf263baff3b6d1ea6d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E8=AF=97=E9=BE=99?= <2483323272@qq.com> Date: Sun, 29 Oct 2023 11:44:27 +0000 Subject: [PATCH] =?UTF-8?q?=E9=BB=84=E8=AF=97=E9=BE=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 黄诗龙 <2483323272@qq.com> --- ...60\346\215\256\347\261\273\345\236\213.md" | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 "18 \351\273\204\350\257\227\351\276\231/20231027\345\217\230\351\207\217\344\270\216\346\225\260\346\215\256\347\261\273\345\236\213.md" diff --git "a/18 \351\273\204\350\257\227\351\276\231/20231027\345\217\230\351\207\217\344\270\216\346\225\260\346\215\256\347\261\273\345\236\213.md" "b/18 \351\273\204\350\257\227\351\276\231/20231027\345\217\230\351\207\217\344\270\216\346\225\260\346\215\256\347\261\273\345\236\213.md" new file mode 100644 index 0000000..424f734 --- /dev/null +++ "b/18 \351\273\204\350\257\227\351\276\231/20231027\345\217\230\351\207\217\344\270\216\346\225\260\346\215\256\347\261\273\345\236\213.md" @@ -0,0 +1,98 @@ +```html +变量与数据类型. +变量的声明:var关键字. 赋值:使用=给变量赋值. +变量名称,只能用字母,数字,_,$的组合,但不能用数字开头一条语句结束后要加分号; +Console.log( ) 打印: +注意 +1.变量未声明·直接用会报错、 +未赋值. 默认值是undefined. +如何判断一个变量是什么类型.type of x. 操作符. +如未声明变量也可以 +JavaScript8种基本数据类型、 +①Number ②string ③ Boolean ④ undefined +⑤ Null ⑥ object ⑦Biylnt ⑧ Symbol. + + + + + + + + + + Document + + +

赵向林

+ + + + + + + + + + + + + + + +``` + -- Gitee