tor-browser

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

Source-Null-Undefined.js (459B)


      1 // Copyright 2015 Microsoft Corporation. All rights reserved.
      2 // This code is governed by the license found in the LICENSE file.
      3 
      4 /*---
      5 description: null and undefined source should be ignored,result should be original object.
      6 esid: sec-object.assign
      7 ---*/
      8 
      9 var target = new Object();
     10 var result = Object.assign(target, undefined, null);
     11 
     12 assert.sameValue(result, target, 'The value of result is expected to equal the value of target');
     13 
     14 reportCompare(0, 0);