tor-browser

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

S15.10.2.7_A5_T3.js (591B)


      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: |
      6    The production QuantifierPrefix :: ? evaluates by returning the two
      7    results 0 and 1
      8 es5id: 15.10.2.7_A5_T3
      9 description: >
     10    Execute /java(script)?/.test("state: both Java and JavaScript used
     11    in web development") and check results
     12 ---*/
     13 
     14 var __executed = /java(script)?/.test("state: both Java and JavaScript used in web development");
     15 
     16 assert(!__executed, 'The value of !__executed is expected to be true');
     17 
     18 reportCompare(0, 0);