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