Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
JSTests
/
stress
/
getter-arity.js
blob: eebe95410683ac181ff0806b41fb09ddc05bf367 [
file
] [
log
] [
blame
]
var
o
=
{};
o
.
__defineGetter__
(
"f"
,
function
(
a
,
b
,
c
,
d
,
e
,
f
)
{
return
42
;
});
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
o
.
f
;
if
(
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}