Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
JSTests
/
stress
/
operationInstanceOfCustom-bad-assertion.js
blob: 919ffaea35fb128968c54ba823a3cea3551b286f [
file
] [
log
] [
blame
]
const
x
=
createGlobalObject
();
function
foo
(
resolve
)
{
0
instanceof resolve
;
}
noInline
(
x
.
Promise
);
for
(
let i
=
0
;
i
<
1000
;
i
++)
{
new
x
.
Promise
(
foo
);
}