aboutsummaryrefslogtreecommitdiffstats
path: root/test/harness/compare-array-empty.js
blob: f3196db4c436e136c01201de850c9004cea72c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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) {
  $ERROR('Empty arrays are equivalent.');
}