• littledan's avatar
    Split off a separate --harmony_sloppy_let flag · 2d2b72f6
    littledan authored
    --harmony_sloppy includes behavior to turn on sloppy mode lexical
    bindings. Before this patch, it also included a way to parse let
    which is likely web-incompatible (let is disallowed as an
    identifier). This patch splits off the let parsing from the more
    general block scoping code, so that block scoping can be developed
    independently.
    
    R=adamk
    LOG=N
    BUG=v8:3305
    
    Review URL: https://codereview.chromium.org/1255013002
    
    Cr-Commit-Position: refs/heads/master@{#29855}
    2d2b72f6
block-let-crankshaft-sloppy.js 8.5 KB