Sign in
webkit
/
WebKit
/
3ee83bd7079b5d32a56631e7e3c8cee2e6830703
/
.
/
JSTests
/
stress
/
string-instanceof.js
blob: 929a6c99f696c716ef447371119add24b322b24f [
file
] [
log
] [
blame
]
function
foo
(
value
,
proto
)
{
return
value instanceof proto
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
(
"hello"
,
String
);
if
(
result
)
throw
"Error: bad result: "
+
result
;
}