Sign in
webkit
/
WebKit
/
56b894cf3d88d931dd6ddc67d6c4d9e352030ab4
/
.
/
JSTests
/
stress
/
string-proto.js
blob: ddcf012a0762fb855ae2c458d26669870ae90858 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
function
target
(
value
)
{
return
value
.
__proto__
;
}
noInline
(
target
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
shouldBe
(
target
(
"Cocoa"
),
String
.
prototype
)