tor-browser

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

S15.10.2.13_A2_T6.js (540B)


      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 CharacterClass :: [ ^ ClassRanges ] evaluates by
      7    evaluating ClassRanges to  obtain a CharSet and returning that CharSet
      8    and the boolean true
      9 es5id: 15.10.2.13_A2_T6
     10 description: Execute /a[^b]c/.test("abc") and check results
     11 ---*/
     12 
     13 var __executed = /a[^b]c/.test("abc");
     14 
     15 assert(!__executed, 'The value of !__executed is expected to be true');
     16 
     17 reportCompare(0, 0);