OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Flags: --enable-slow-asserts | |
6 | |
7 array = new Array(undefined, undefined, undefined); | |
8 Object.defineProperty(array, 0, { | |
9 get: function() { | |
10 array.push(undefined, undefined); | |
11 } | |
12 }); | |
13 array[0x80000] = 1; | |
14 result = array.includes(new WeakMap()); | |
OLD | NEW |