Sign in
webkit
/
WebKit
/
69a7b74912bac36f8b22ecde7a51522c768c4c9c
/
.
/
JSTests
/
microbenchmarks
/
varargs-strict-mode.js
blob: 985a1a8346d3d2d7ea1df110784a77deefdf4294 [
file
] [
log
] [
blame
]
"use strict"
;
function
foo
(
a
,
b
)
{
return
a
+
b
;
}
function
bar
()
{
return
foo
.
apply
(
null
,
arguments
);
}
noInline
(
bar
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
bar
(
1
,
2
);
if
(
result
!=
3
)
throw
"Error: bad result: "
+
result
;
}