tor-browser

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

S12.13_A3_T5.js (476B)


      1 // Copyright 2009 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: 1. Evaluate Expression
      6 es5id: 12.13_A3_T5
      7 description: Evaluating equation expression
      8 ---*/
      9 
     10 // CHECK#1
     11 var a=true;
     12 var b=false;
     13 try{
     14  throw ((a&&(!b))?"exception":" #1");
     15 }
     16 catch(e){
     17  if (e!=="exception") throw new Test262Error('#1: Exception ==="exception"(operaton ? , ). Actual:  Exception ==='+e  );
     18 }
     19 
     20 reportCompare(0, 0);