blob: 32ed51c8197688f557fe6e16e41f1389c05f87c3 [file] [log] [blame]
keith_miller@apple.combcc77f22016-07-15 06:03:25 +00001// Copyright (C) 2015 the V8 project authors. All rights reserved.
2// This code is governed by the BSD license found in the LICENSE file.
3
4/*---
5description: >
6 Arrays containing different elements are not equivalent.
7includes: [compareArray.js]
8---*/
9
10var first = [0, 'a', undefined];
11var second = [0, 'b', undefined];
12
13if (compareArray(first, second) !== false) {
14 $ERROR('Arrays containing different elements are not equivalent.');
15}