2015-06-18 09:23:15 +02:00
|
|
|
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
|
|
|
// This code is governed by the license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
description: null and undefined source should be ignored,result should be original object.
|
2018-01-10 23:33:03 +01:00
|
|
|
esid: sec-object.assign
|
2015-06-18 09:23:15 +02:00
|
|
|
---*/
|
|
|
|
|
|
|
|
var target = new Object();
|
2018-02-15 21:33:45 +01:00
|
|
|
var result = Object.assign(target, undefined, null);
|
2015-06-18 09:23:15 +02:00
|
|
|
|
2021-08-12 22:28:19 +02:00
|
|
|
assert.sameValue(result, target, 'The value of result is expected to equal the value of target');
|