tor-browser

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

7.3-15.js (430B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 7.3-15
      6 description: 7.3 - ES5 recognize <BOM> (\uFFFF) as a whitespace character
      7 ---*/
      8 
      9        var prop = "a\uFFFFa";
     10 
     11 assert.sameValue(prop.length, 3, 'prop.length');
     12 assert.notSameValue(prop, "aa", 'prop');
     13 assert.sameValue(prop[1], "\uFFFF", 'prop[1]');
     14 
     15 reportCompare(0, 0);