![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript学习
文章平均质量分 75
JINGJID
这个作者很懒,什么都没留下…
展开
-
JavaScript数据类型
1.字符串 1.正常字符串使用单引号,或者是双引号括起来 2.注意转义符号 \ \'--输出引号 \n--换行 \t--制表 \u#### :unicode字符 例"u4e2d"---中 Ascll字符 :"\x41"--A 3.多行字符串编写 //输出多行字符串 //`是esc下面的键~ var msg = `hello world aaa aaaaa` console.log(msg) 4...原创 2022-04-14 21:51:28 · 520 阅读 · 0 评论 -
JavaScript入门
1.引入JavaScript 1.内部标签 <head> <meta charset="UTF-8"> <title>Title</title> script标签内,写JavaScript代码 <script> alert("hello,world") </script> </head> <body> <!--script标签也可以放在这里--&原创 2022-04-14 14:20:34 · 303 阅读 · 0 评论