mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			443 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			443 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// 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.
 | 
						|
es6id:  19.1.2.1.5.a
 | 
						|
---*/
 | 
						|
 | 
						|
var target = new Object();
 | 
						|
var result = Object.assign(target,undefined,null);
 | 
						|
 | 
						|
assert.sameValue(result, target, "null and undefined should be ignored, result should be original object.");
 |