Sign in
webkit
/
WebKit
/
73d489c153bea24ba07ff63ba8b8ea61cc2bba7a
/
.
/
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!"
);
})();