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