扫码关注官方订阅号
1.赋值// 1.2 值传递:原始类型、string、number、bool let a=1; let b=a; console.log("a=%d,b=%d",a,b); // 更新a,不影响b a=2; con...
JavaScript 初学习序:0.1 js是前端通用的脚本语言0.2 分为内联脚本(写在事件属性总)、内部脚本(写在script中)、外部脚本(写在script:src属性中)1.常量1.1 使用const进行声明 // 常量声明时就需赋值,...