tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

let-identifier-with-newline.js (523B)


      1 // Copyright (C) 2017 André Bargull. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-while-statement
      6 description: >
      7  ExpressionStatement doesn't have a lookahead restriction for `let <binding-identifier>`.
      8 info: |
      9  ExpressionStatement[Yield, Await] :
     10    [lookahead ∉ { {, function, async [no LineTerminator here] function, class, let [ }]
     11    Expression[+In, ?Yield, ?Await] ;
     12 flags: [noStrict]
     13 ---*/
     14 
     15 while (false) let // ASI
     16 x = 1;
     17 
     18 reportCompare(0, 0);