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