Sign in
webkit
/
WebKit
/
d507f536e123365c4233f3083e0192532185e8fc
/
.
/
JSTests
/
microbenchmarks
/
arrowfunction-call-in-function.js
blob: 03b0bba1d7b4b8b2cca3783612d82a440b92280b [
file
] [
log
] [
blame
]
function
bar
(
a
,
b
)
{
return
((
_a
,
_b
)
=>
_a
+
_b
)(
a
,
b
);
}
noInline
(
bar
);
for
(
let i
=
0
;
i
<
1000000
;
++
i
)
{
let result
=
bar
(
1
,
2
);
if
(
result
!=
3
)
throw
"Error: bad result: "
+
result
;
}