Sign in
webkit
/
WebKit
/
51d2026f123f19fcb7f647cb9beef1a0b7f94b83
/
.
/
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
;
}