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