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