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