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