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