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