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