tor-browser

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

cptn-nrml.js (760B)


      1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-labelled-statements-runtime-semantics-labelledevaluation
      5 es6id: 13.13.14
      6 description: Completion value when LabelledItem returns normally
      7 info: |
      8  LabelledStatement : LabelIdentifier : LabelledItem
      9 
     10  1. Let label be the StringValue of LabelIdentifier.
     11  2. Append label as an element of labelSet.
     12  3. Let stmtResult be LabelledEvaluation of LabelledItem with argument
     13     labelSet.
     14  4. If stmtResult.[[Type]] is break and SameValue(stmtResult.[[Target]],
     15     label) is true, then
     16     [...]
     17  5. Return Completion(stmtResult).
     18 ---*/
     19 
     20 assert.sameValue(eval('test262id: 2;'), 2);
     21 
     22 reportCompare(0, 0);