mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 13:44:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			321 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			321 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) 2015 the V8 project authors. All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
 | 
						|
/*---
 | 
						|
description: >
 | 
						|
    Empty arrays of are equivalent.
 | 
						|
includes: [compareArray.js]
 | 
						|
---*/
 | 
						|
 | 
						|
if (compareArray([], []) !== true) {
 | 
						|
  throw new Error('Empty arrays are equivalent.');
 | 
						|
}
 |