blob: c4961be2d883d348675d00a503ca4a929be18ac5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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.');
}
reportCompare(0, 0);
|