Sign in
webkit
/
WebKit
/
3171213d84ddc1cb3289622b38ea4b8b7d089653
/
.
/
JSTests
/
stress
/
symbol-instanceof.js
blob: 7285da8b7d0ee824fc37d33fab80303263a344f4 [
file
] [
log
] [
blame
]
function
foo
(
value
,
proto
)
{
return
value instanceof proto
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
(
Symbol
(
"hello"
),
Symbol
);
if
(
result
)
throw
"Error: bad result: "
+
result
;
}