面试真题var和letconst的区别var是ES5语法,letconst是ES6语法;var有提升变量var和let是变量可修改;const是常量,不可修改letconst有块级作用域,var没有const是常量,为什么对象属性值可