Sign in
webkit
/
WebKit
/
9c8be771a698cc743f1dc94e95a2f7a35fcb0bb1
/
.
/
JSTests
/
microbenchmarks
/
new-object-no-expected-function.js
blob: 1975a01024fa3bc19d45819b019334a509828d16 [
file
] [
log
] [
blame
]
const
window
=
this
;
(
function
()
{
var
obj
;
for
(
var
i
=
0
;
i
<
1e6
;
i
++)
obj
=
new
window
.
Object
();
if
(
obj
.
constructor
!==
Object
)
throw
new
Error
(
"Bad assert!"
);
})();