tor-browser

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

15.1.1.3-3.js (403B)


      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 esid: sec-undefined
      6 description: >
      7    undefined is not writable, simple assignment should return the
      8    rval value (11.13.1-6)
      9 flags: [noStrict]
     10 ---*/
     11 
     12 var newProperty = undefined = 42;
     13 
     14 assert.sameValue(newProperty, 42, 'newProperty');
     15 
     16 reportCompare(0, 0);