2018-11-08 08:55:43 +00:00
|
|
|
// Copyright 2018 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2020-06-23 14:45:51 +00:00
|
|
|
// Flags: --allow-natives-syntax --ignore-unhandled-promises
|
2018-11-08 08:55:43 +00:00
|
|
|
|
|
|
|
async function f() {
|
|
|
|
var a = [...new Int8Array([, ...new Uint8Array(65536)])];
|
|
|
|
var p = new Proxy([f], {
|
|
|
|
set: function () { },
|
|
|
|
done: undefined.prototype
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
f()
|
|
|
|
f();
|