tor-browser

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

x-after-break-to-label.js (355B)


      1 // Copyright (C) 2011 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 es6id: 13.1
      5 description: >
      6    x after break to label
      7 ---*/
      8 {
      9  let x = 2;
     10  L: {
     11    let x = 3;
     12    assert.sameValue(x, 3);
     13    break L;
     14    assert(false);
     15  }
     16  assert.sameValue(x, 2);
     17 }
     18 
     19 reportCompare(0, 0);