let/const/var本质区别

let const 是Es6语法
let const 拥有作用域,
let const 不允许重复定义,
let const 定义变量不会出现变量声明提升而 var 会
let const 定义变量,在定义语句之前,如果抛出错误形成暂时性死区, 而var 不会