tor-browser

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

S7.9_A5.7_T1.js (632B)


      1 // |reftest| error:SyntaxError
      2 // Copyright 2009 the Sputnik authors.  All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 info: |
      7    Since LineTerminator(LT) between Postfix Increment/Decrement
      8    Operator(I/DO) and operand is not allowed, two IO(just as two DO
      9    and their combination) between two references separated by [LT]
     10    after automatic semicolon insertion lead to syntax error
     11 
     12 es5id: 7.9_A5.7_T1
     13 description: Try use Variable1 \n ++ \n ++ \n Variable2 construction
     14 negative:
     15  phase: parse
     16  type: SyntaxError
     17 ---*/
     18 
     19 $DONOTEVALUATE();
     20 
     21 var x=0, y=0;
     22 var z=
     23 x
     24 ++
     25 ++
     26 y