tor-browser

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

labeled-continue.js (619B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 esid: sec-static-semantics-containsundefinedcontinuetarget
      6 description: Clears label set in check for undefined `continue` target
      7 info: |
      8  With arguments iterationSet and labelSet.
      9 
     10  Statement : BlockStatement
     11 
     12  1. Return ContainsUndefinedContinueTarget of |BlockStatement| with arguments
     13     _iterationSet_ and « ».
     14 negative:
     15  phase: parse
     16  type: SyntaxError
     17 ---*/
     18 
     19 $DONOTEVALUATE();
     20 
     21 label: {
     22  for ( ;; ) {
     23    continue label;
     24  }
     25 }