为什么`let`未在规范中指定为保留关键字

Max*_*kyi -1 javascript ecmascript-6

我期待找到这两个constlet保留的关键字.我发现只有 const,但没有let:

Keyword::
    await
    break
    case catch class const continue   <---- `const` here
    debugger default delete do
    else export extends
    finally for function
    if import in instanceof
    new
    return
    superswitch
    this throw try typeof
    var void
    while with
    yield
Run Code Online (Sandbox Code Playgroud)

let关键字吗?如果没有,为什么?

Ry-*_*Ry- 6

let 以前没有保留过 ES6 ES5严​​格模式,因此为了向后兼容的原因,它不能被视为与其余保留字相同,如下所示:

var let = 5;
Run Code Online (Sandbox Code Playgroud)

你会在新结构的规范中找到很多例外(例如let let = 5;无效).