test262/test/harness/compare-array-empty.js

13 lines
312 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) {
$ERROR('Empty arrays are equivalent.');
}