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