当前位置:网站首页>var、let、const区别
var、let、const区别
2022-07-22 10:18:00 【你一定要努力,但千万别着急】
var
可以重复声明
没有块级作用域
有变量提升
let
不能重复声明
有块级作用域
无变量提升
const
不能重复声明
有块级作用域
要有初始值
常量的值不能修改
边栏推荐
- Spark Jason log analysis
- NewSQL数据库数据模型设计
- HTB- Armageddon
- Structure, enumeration, joint blog tutorial
- Spark loads CSV and JSON files (attached to the virtual machine to execute the jar package)
- MYSQL5.7的安装(yum、二进制、编译安装)
- How Oracle converts strings into multiple lines
- Spark: graph
- Spark RDD的依赖于DAG的工作原理
- JVM-VisualVM:多合-故障处理工具
猜你喜欢
随机推荐
Datablau5.0数据资产管理产品系列重磅发布
C#正则表达式提取指定词语出现的索引位置
It is found that the MariaDB database is 12 hours late, and the xxljob scheduled task scheduling is abnormal
将mariadb里的数据导入到columnstore里
-bash: ifconfig: 未找到命令
ES6用法
mariadb审计插件
How Oracle converts strings into multiple lines
Spark GraphX 中的 pregel函数(转载)
leetcode 32. 最长有效括号
Pure function and higher order function
NC26 括号生成
Several common ways for C DataGridView to bind data sources
The luckiest geek in China: in his early twenties, he was worth more than 100 million, and retired after three startups
Pregel function in spark graphx (Reprint)
结构体、枚举、联合博客浅习
system表空间用满解决
纯函数与高阶函数
ES6新特性分享(完结)
How Oracle escapes single quotation marks