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