Sign in
webkit
/
WebKit
/
c2482f3ae25f413cff2e13443ac27ae81b76180f
/
.
/
JSTests
/
microbenchmarks
/
instanceof-always-hit-one.js
blob: 6dc7b68f68b9887f35c30d2e33803361693be9aa [
file
] [
log
] [
blame
]
(
function
()
{
class
Foo
{
}
var
foo
=
new
Foo
();
for
(
var
i
=
0
;
i
<
5000000
;
++
i
)
{
if
(!(
foo instanceof
Foo
))
throw
"Error: bad result"
;
}
})();