Sign in
webkit
/
WebKit
/
62c15071e892ba610c3477e054612dec44c8d322
/
.
/
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
;
}