Sign in
webkit
/
WebKit
/
73d489c153bea24ba07ff63ba8b8ea61cc2bba7a
/
.
/
JSTests
/
microbenchmarks
/
instanceof-always-hit-one.js
blob: f6b3651e74e0ec426c78d73af6b9c9ecc3a449a5 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
function
()
{
class
Foo
{
}
var
foo
=
new
Foo
();
for
(
var
i
=
0
;
i
<
5000000
;
++
i
)
{
if
(!(
foo instanceof
Foo
))
throw
"Error: bad result"
;
}
})();