keith_miller@apple.com | bcc77f2 | 2016-07-15 06:03:25 +0000 | [diff] [blame] | 1 | // 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 | /*--- |
| 5 | description: > |
| 6 | Arrays containing different elements are not equivalent. |
| 7 | includes: [compareArray.js] |
| 8 | ---*/ |
| 9 | |
| 10 | var first = [0, 'a', undefined]; |
| 11 | var second = [0, 'b', undefined]; |
| 12 | |
| 13 | if (compareArray(first, second) !== false) { |
| 14 | $ERROR('Arrays containing different elements are not equivalent.'); |
| 15 | } |